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
- PageFunction.cs
- MultiTrigger.cs
- LineSegment.cs
- ChannelSinkStacks.cs
- PreparingEnlistment.cs
- StorageScalarPropertyMapping.cs
- SqlClientWrapperSmiStreamChars.cs
- ApplicationServiceManager.cs
- Keyboard.cs
- PageCodeDomTreeGenerator.cs
- LineVisual.cs
- DSASignatureFormatter.cs
- CounterSampleCalculator.cs
- basecomparevalidator.cs
- RoutedEventConverter.cs
- BindingCollection.cs
- DataGridViewCellFormattingEventArgs.cs
- ElementUtil.cs
- PageFunction.cs
- DecoderExceptionFallback.cs
- Double.cs
- AlphaSortedEnumConverter.cs
- AbandonedMutexException.cs
- TextRangeAdaptor.cs
- FacetChecker.cs
- Inflater.cs
- SuppressMergeCheckAttribute.cs
- DriveInfo.cs
- InProcStateClientManager.cs
- DefaultSerializationProviderAttribute.cs
- Encoder.cs
- ContextMarshalException.cs
- Rect3D.cs
- TagPrefixCollection.cs
- FtpWebRequest.cs
- CachedBitmap.cs
- SHA1CryptoServiceProvider.cs
- ValidationPropertyAttribute.cs
- ParentQuery.cs
- SafeHandle.cs
- ToolStripDropDownDesigner.cs
- SspiSecurityToken.cs
- Function.cs
- UrlAuthorizationModule.cs
- LoadedOrUnloadedOperation.cs
- ClientConfigPaths.cs
- DrawingImage.cs
- PeerOutputChannel.cs
- DataBoundControlAdapter.cs
- CodeDelegateInvokeExpression.cs
- ObjectDataSource.cs
- ExpressionCopier.cs
- CodeVariableReferenceExpression.cs
- ProcessModuleCollection.cs
- DependencyPropertyKey.cs
- dbenumerator.cs
- FrameworkElement.cs
- ClientConfigurationSystem.cs
- MaterializeFromAtom.cs
- CreateUserWizard.cs
- RepeaterCommandEventArgs.cs
- CharUnicodeInfo.cs
- CssStyleCollection.cs
- TextBoxView.cs
- SQLDouble.cs
- XPathDocumentIterator.cs
- AssociationType.cs
- Double.cs
- EdmEntityTypeAttribute.cs
- SqlProcedureAttribute.cs
- MenuCommands.cs
- XmlMemberMapping.cs
- Variable.cs
- ChameleonKey.cs
- httpapplicationstate.cs
- StreamGeometryContext.cs
- WindowsAuthenticationModule.cs
- CapabilitiesAssignment.cs
- ChannelDispatcherCollection.cs
- BaseServiceProvider.cs
- FontConverter.cs
- TableColumn.cs
- CallContext.cs
- WebServiceParameterData.cs
- ItemCheckedEvent.cs
- DragEventArgs.cs
- HostingEnvironmentSection.cs
- PersianCalendar.cs
- MissingMethodException.cs
- PenThreadWorker.cs
- IResourceProvider.cs
- HtmlUtf8RawTextWriter.cs
- BinaryFormatterWriter.cs
- InstanceKeyView.cs
- DecimalAnimationBase.cs
- Properties.cs
- ObjectCacheSettings.cs
- UIntPtr.cs
- UIServiceHelper.cs
- RawAppCommandInputReport.cs