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
- HtmlFormParameterReader.cs
- Publisher.cs
- BamlResourceContent.cs
- SqlDataReaderSmi.cs
- DataContext.cs
- XPathEmptyIterator.cs
- HttpRequestCacheValidator.cs
- PathGeometry.cs
- HostProtectionException.cs
- ActiveDocumentEvent.cs
- IdentifierService.cs
- MissingSatelliteAssemblyException.cs
- ResourceFallbackManager.cs
- TypedTableBase.cs
- AnnotationComponentManager.cs
- MessageBox.cs
- MediaElementAutomationPeer.cs
- CharAnimationBase.cs
- CodeTypeParameterCollection.cs
- DataRecordInfo.cs
- BuildProviderAppliesToAttribute.cs
- LinearGradientBrush.cs
- RadialGradientBrush.cs
- FormsAuthenticationUser.cs
- KeyManager.cs
- XmlSchemaType.cs
- WinEventQueueItem.cs
- XmlParserContext.cs
- DataObjectFieldAttribute.cs
- TextSearch.cs
- DbBuffer.cs
- CheckBoxRenderer.cs
- DataGridColumnHeadersPresenter.cs
- AuthorizationRuleCollection.cs
- LineGeometry.cs
- OperationResponse.cs
- Aggregates.cs
- GlyphRun.cs
- _TransmitFileOverlappedAsyncResult.cs
- ControlCodeDomSerializer.cs
- versioninfo.cs
- DetailsViewUpdatedEventArgs.cs
- EntitySqlQueryState.cs
- SQLInt32Storage.cs
- RootBrowserWindow.cs
- NetworkCredential.cs
- RegisteredScript.cs
- WeakRefEnumerator.cs
- AppDomainProtocolHandler.cs
- _UriTypeConverter.cs
- TemplatePagerField.cs
- DiscoveryService.cs
- Context.cs
- TypeBrowserDialog.cs
- DataConnectionHelper.cs
- InputEventArgs.cs
- FillErrorEventArgs.cs
- TokenBasedSetEnumerator.cs
- FullTrustAssemblyCollection.cs
- SafeNativeMethodsOther.cs
- PerformanceCounterPermission.cs
- FileClassifier.cs
- QilTargetType.cs
- InvokerUtil.cs
- Thumb.cs
- UrlPath.cs
- ErrorStyle.cs
- BitmapScalingModeValidation.cs
- XmlSchemaType.cs
- bindurihelper.cs
- PropertyGeneratedEventArgs.cs
- assemblycache.cs
- RequestCache.cs
- DataSourceListEditor.cs
- InteropBitmapSource.cs
- FlowDocumentFormatter.cs
- AuthenticationService.cs
- Debug.cs
- ProjectionCamera.cs
- LinqDataSourceStatusEventArgs.cs
- TempEnvironment.cs
- ToolStripRenderer.cs
- TreeNodeStyleCollection.cs
- TrackingProfileDeserializationException.cs
- DirectoryLocalQuery.cs
- SelectiveScrollingGrid.cs
- BitmapFrame.cs
- ResourceDescriptionAttribute.cs
- DataSetViewSchema.cs
- StringToken.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- ACE.cs
- HttpApplication.cs
- SystemUnicastIPAddressInformation.cs
- HwndHostAutomationPeer.cs
- QilXmlReader.cs
- XamlFilter.cs
- XPathScanner.cs
- Itemizer.cs
- ColorConverter.cs