Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / SqlClient / SqlNotificationEventArgs.cs / 1305376 / SqlNotificationEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data.SqlClient { using System; using System.ComponentModel; using System.Collections; using System.Data; public 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; public 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
- NamespaceDecl.cs
- AdapterDictionary.cs
- DataColumnChangeEvent.cs
- DynamicPropertyReader.cs
- DataTablePropertyDescriptor.cs
- WebPartEditorCancelVerb.cs
- SqlXml.cs
- DocumentGridPage.cs
- ISessionStateStore.cs
- Rules.cs
- Double.cs
- FlowDocumentPage.cs
- ClientRoleProvider.cs
- FilterQuery.cs
- SoapSchemaImporter.cs
- DashStyles.cs
- SectionVisual.cs
- AuthenticateEventArgs.cs
- Library.cs
- SystemIPInterfaceProperties.cs
- MobileControlsSection.cs
- AssemblyUtil.cs
- OneToOneMappingSerializer.cs
- Encoder.cs
- StickyNote.cs
- SerializationObjectManager.cs
- LeftCellWrapper.cs
- MailWriter.cs
- CryptoApi.cs
- NTAccount.cs
- ProxyAssemblyNotLoadedException.cs
- DataGridRow.cs
- TreeNodeStyle.cs
- TabletDeviceInfo.cs
- RectAnimation.cs
- DataSourceSelectArguments.cs
- CssStyleCollection.cs
- DataBoundControl.cs
- CurrentTimeZone.cs
- PageParser.cs
- Helper.cs
- CapabilitiesState.cs
- EncryptedData.cs
- RegionInfo.cs
- PKCS1MaskGenerationMethod.cs
- TableLayoutPanelCellPosition.cs
- BitmapPalettes.cs
- BevelBitmapEffect.cs
- DriveNotFoundException.cs
- Marshal.cs
- InputLanguageProfileNotifySink.cs
- ExpanderAutomationPeer.cs
- xmlsaver.cs
- EventLevel.cs
- SettingsProperty.cs
- GridLengthConverter.cs
- PositiveTimeSpanValidator.cs
- BinaryOperationBinder.cs
- StdValidatorsAndConverters.cs
- DispatchChannelSink.cs
- DrawingVisualDrawingContext.cs
- TextEndOfLine.cs
- ScrollChangedEventArgs.cs
- DataServiceStreamResponse.cs
- BinHexEncoder.cs
- SystemUnicastIPAddressInformation.cs
- Point3DCollection.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- EntityTypeEmitter.cs
- StringAttributeCollection.cs
- DispatchOperationRuntime.cs
- TextTreeObjectNode.cs
- ImageKeyConverter.cs
- ConnectionPoint.cs
- XsltArgumentList.cs
- SocketException.cs
- EntityDataSourceSelectedEventArgs.cs
- CryptoApi.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- TypedReference.cs
- XmlSerializerFactory.cs
- UserControlBuildProvider.cs
- PropertyPathConverter.cs
- DateTimeParse.cs
- HttpInputStream.cs
- PageParser.cs
- BoundPropertyEntry.cs
- TextServicesProperty.cs
- PageContentAsyncResult.cs
- XmlnsCache.cs
- SoapObjectReader.cs
- LicenseException.cs
- XmlChildEnumerator.cs
- GridViewDeletedEventArgs.cs
- TextSelectionHelper.cs
- DisplayClaim.cs
- dbenumerator.cs
- ByteStreamGeometryContext.cs
- FrameworkTemplate.cs
- MouseBinding.cs