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
- EncoderParameter.cs
- SplitterPanelDesigner.cs
- ColumnMapProcessor.cs
- XmlSortKey.cs
- ReadOnlyMetadataCollection.cs
- SafeEventLogWriteHandle.cs
- SQLDateTime.cs
- BoolLiteral.cs
- Profiler.cs
- DataServiceHostFactory.cs
- RowBinding.cs
- GCHandleCookieTable.cs
- LayoutExceptionEventArgs.cs
- ChildTable.cs
- ToolStripCollectionEditor.cs
- Label.cs
- TimeManager.cs
- PropertyMappingExceptionEventArgs.cs
- AttributedMetaModel.cs
- DataTableExtensions.cs
- MeasureItemEvent.cs
- MsmqIntegrationValidationBehavior.cs
- HtmlToClrEventProxy.cs
- SecurityState.cs
- securitycriticaldata.cs
- ApplicationActivator.cs
- CssClassPropertyAttribute.cs
- X509ChainPolicy.cs
- SvcMapFileLoader.cs
- SqlUnionizer.cs
- TypedTableBaseExtensions.cs
- Int32CollectionConverter.cs
- panel.cs
- TogglePatternIdentifiers.cs
- InvokeGenerator.cs
- NetworkInformationPermission.cs
- SslStream.cs
- Region.cs
- SoapAttributeAttribute.cs
- LocatorPart.cs
- BamlRecords.cs
- SystemParameters.cs
- DataDesignUtil.cs
- PartitionResolver.cs
- SystemBrushes.cs
- DataGridViewCellPaintingEventArgs.cs
- DirectoryInfo.cs
- SqlWebEventProvider.cs
- ImportContext.cs
- ImageMapEventArgs.cs
- _NegoState.cs
- TranslateTransform3D.cs
- ListBase.cs
- DirectoryObjectSecurity.cs
- Int32Converter.cs
- HttpApplicationFactory.cs
- VisualTreeHelper.cs
- StringTraceRecord.cs
- JpegBitmapDecoder.cs
- NameValueCollection.cs
- TypeEnumerableViewSchema.cs
- CreateParams.cs
- HttpCacheVaryByContentEncodings.cs
- BufferModeSettings.cs
- XmlSchemaSimpleTypeUnion.cs
- autovalidator.cs
- MenuItemStyleCollection.cs
- HostedHttpRequestAsyncResult.cs
- FontStyle.cs
- AutomationPropertyInfo.cs
- LayeredChannelFactory.cs
- StylusTip.cs
- SmiConnection.cs
- ISAPIApplicationHost.cs
- BlurEffect.cs
- ServiceParser.cs
- PermissionRequestEvidence.cs
- IPPacketInformation.cs
- VSDExceptions.cs
- PublishLicense.cs
- UserPersonalizationStateInfo.cs
- WebFormDesignerActionService.cs
- HttpHandlerAction.cs
- RoutedEventConverter.cs
- MatrixIndependentAnimationStorage.cs
- SqlProfileProvider.cs
- EnvelopedSignatureTransform.cs
- DataGridViewMethods.cs
- KoreanCalendar.cs
- SafeSerializationManager.cs
- PatternMatcher.cs
- SpoolingTask.cs
- ContentDisposition.cs
- URLBuilder.cs
- ObjectIDGenerator.cs
- listitem.cs
- RemotingAttributes.cs
- StringDictionaryEditor.cs
- CommandLineParser.cs
- WebPartChrome.cs