Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Data / System / Data / SqlClient / SqlNotificationEventArgs.cs / 1 / SqlNotificationEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data.SqlClient { using System; using System.ComponentModel; using System.Collections; using System.Data; #if WINFSInternalOnly internal #else public #endif class SqlNotificationEventArgs : EventArgs { private SqlNotificationType _type; private SqlNotificationInfo _info; private SqlNotificationSource _source; public SqlNotificationEventArgs(SqlNotificationType type, SqlNotificationInfo info, SqlNotificationSource source) { _info = info; _source = source; _type = type; } public SqlNotificationType Type { get { return _type; } } public SqlNotificationInfo Info { get { return _info; } } public SqlNotificationSource Source { get { return _source; } } internal static SqlNotificationEventArgs NotifyError = new SqlNotificationEventArgs(SqlNotificationType.Subscribe, SqlNotificationInfo.Error, SqlNotificationSource.Object); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data.SqlClient { using System; using System.ComponentModel; using System.Collections; using System.Data; #if WINFSInternalOnly internal #else public #endif class SqlNotificationEventArgs : EventArgs { private SqlNotificationType _type; private SqlNotificationInfo _info; private SqlNotificationSource _source; public SqlNotificationEventArgs(SqlNotificationType type, SqlNotificationInfo info, SqlNotificationSource source) { _info = info; _source = source; _type = type; } public SqlNotificationType Type { get { return _type; } } public SqlNotificationInfo Info { get { return _info; } } public SqlNotificationSource Source { get { return _source; } } internal static SqlNotificationEventArgs NotifyError = new SqlNotificationEventArgs(SqlNotificationType.Subscribe, SqlNotificationInfo.Error, SqlNotificationSource.Object); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TimeZone.cs
- BitmapPalettes.cs
- SubpageParagraph.cs
- ExceptionList.cs
- WaitHandle.cs
- DataColumnMapping.cs
- LinqExpressionNormalizer.cs
- DbModificationCommandTree.cs
- COAUTHIDENTITY.cs
- TrackingRecord.cs
- XmlSignatureProperties.cs
- ProgressBar.cs
- WebControlAdapter.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- HostSecurityManager.cs
- LayoutManager.cs
- IIS7UserPrincipal.cs
- X500Name.cs
- DiscoveryDocumentSearchPattern.cs
- HwndAppCommandInputProvider.cs
- StorageEndPropertyMapping.cs
- QueryModel.cs
- FillErrorEventArgs.cs
- StreamHelper.cs
- MemberAccessException.cs
- CurrentChangedEventManager.cs
- StylusShape.cs
- MatrixConverter.cs
- Semaphore.cs
- WpfKnownTypeInvoker.cs
- PathSegment.cs
- ValidationSummary.cs
- InstanceHandleReference.cs
- BindingExpressionBase.cs
- DecimalAnimationUsingKeyFrames.cs
- RowUpdatedEventArgs.cs
- Vector3DKeyFrameCollection.cs
- StyleXamlParser.cs
- TextBreakpoint.cs
- DrawingCollection.cs
- CodeIdentifiers.cs
- SendMailErrorEventArgs.cs
- AddressHeaderCollectionElement.cs
- ClientSettingsProvider.cs
- XmlSecureResolver.cs
- XmlProcessingInstruction.cs
- WeakEventTable.cs
- SqlConnectionManager.cs
- DBDataPermissionAttribute.cs
- MouseActionValueSerializer.cs
- CheckBoxField.cs
- WebPartConnectVerb.cs
- EntityDataSourceWrapper.cs
- AppSettingsSection.cs
- CurrencyWrapper.cs
- RootProfilePropertySettingsCollection.cs
- PackWebRequestFactory.cs
- BorderSidesEditor.cs
- ADMembershipUser.cs
- Section.cs
- ConnectionPointCookie.cs
- DownloadProgressEventArgs.cs
- MetadataPropertyvalue.cs
- initElementDictionary.cs
- TypeUsageBuilder.cs
- Unit.cs
- PolicyStatement.cs
- MarkupCompilePass1.cs
- SmiEventStream.cs
- ItemsPresenter.cs
- WmfPlaceableFileHeader.cs
- pingexception.cs
- AddingNewEventArgs.cs
- Encoder.cs
- CompositeActivityMarkupSerializer.cs
- UpdateException.cs
- PolicyValidationException.cs
- CommandEventArgs.cs
- WindowsContainer.cs
- ProtectedConfigurationProviderCollection.cs
- UIElementParagraph.cs
- EntityContainer.cs
- GenericAuthenticationEventArgs.cs
- LZCodec.cs
- HtmlTableRowCollection.cs
- TemplateNameScope.cs
- DocumentGridPage.cs
- MulticastIPAddressInformationCollection.cs
- PeerApplicationLaunchInfo.cs
- StreamWithDictionary.cs
- HtmlShimManager.cs
- Partitioner.cs
- TimeSpanSecondsConverter.cs
- TemplateNameScope.cs
- SqlServices.cs
- WaitHandleCannotBeOpenedException.cs
- PasswordTextNavigator.cs
- EllipseGeometry.cs
- CloseCollectionAsyncResult.cs
- PropertySet.cs