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
- _FtpDataStream.cs
- AuthenticationConfig.cs
- DataGridViewCellMouseEventArgs.cs
- RSACryptoServiceProvider.cs
- UICuesEvent.cs
- ClockGroup.cs
- UrlMappingsModule.cs
- WSHttpBindingCollectionElement.cs
- ProcessThread.cs
- StrongBox.cs
- ConfigurationValues.cs
- MissingMemberException.cs
- Pen.cs
- SqlCharStream.cs
- TerminatorSinks.cs
- RectAnimationClockResource.cs
- FileDialog.cs
- XmlDataFileEditor.cs
- CompleteWizardStep.cs
- MeasureData.cs
- WindowsListViewGroup.cs
- FileNotFoundException.cs
- DockingAttribute.cs
- OpenTypeLayout.cs
- ProfilePropertySettings.cs
- SecurityContextKeyIdentifierClause.cs
- FixedSOMLineCollection.cs
- DbParameterCollection.cs
- HtmlInputPassword.cs
- TerminatorSinks.cs
- AdornerPresentationContext.cs
- ObjectMemberMapping.cs
- SafeNativeMethods.cs
- XmlProcessingInstruction.cs
- Matrix3DValueSerializer.cs
- StylusPointProperty.cs
- ForeignKeyConstraint.cs
- DBCSCodePageEncoding.cs
- XmlC14NWriter.cs
- SHA1Cng.cs
- WinFormsComponentEditor.cs
- PostBackTrigger.cs
- ObjectContext.cs
- CookielessHelper.cs
- BmpBitmapEncoder.cs
- NetworkInformationPermission.cs
- HitTestDrawingContextWalker.cs
- SHA1CryptoServiceProvider.cs
- MetadataProperty.cs
- VirtualDirectoryMappingCollection.cs
- TagMapCollection.cs
- BindingSource.cs
- XmlSchemaDocumentation.cs
- IdentityNotMappedException.cs
- PreviewControlDesigner.cs
- BitmapDownload.cs
- PrivacyNoticeBindingElementImporter.cs
- RtfToken.cs
- TraceListener.cs
- Range.cs
- TreeChangeInfo.cs
- Int32.cs
- WebMessageEncodingElement.cs
- DesignSurfaceEvent.cs
- SslStream.cs
- DiscreteKeyFrames.cs
- MetadataItem.cs
- Model3DCollection.cs
- DetailsViewModeEventArgs.cs
- DecimalKeyFrameCollection.cs
- ActivityInstance.cs
- DrawItemEvent.cs
- ADMembershipUser.cs
- BooleanToVisibilityConverter.cs
- InvokeWebServiceDesigner.cs
- XmlNavigatorStack.cs
- SqlStatistics.cs
- XPathException.cs
- Wizard.cs
- DbProviderServices.cs
- TextTreeUndoUnit.cs
- EnumerableRowCollection.cs
- StrokeNodeEnumerator.cs
- TextAdaptor.cs
- HeaderCollection.cs
- NamedPermissionSet.cs
- HttpCacheVary.cs
- DependencyPropertyKey.cs
- XmlNodeList.cs
- Dictionary.cs
- MetaModel.cs
- GenericsInstances.cs
- List.cs
- OdbcException.cs
- SessionEndedEventArgs.cs
- DataGridColumnHeadersPresenter.cs
- FormatterConverter.cs
- XpsLiterals.cs
- AutomationProperties.cs
- MappingModelBuildProvider.cs