Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- JsonEncodingStreamWrapper.cs
- SpellerInterop.cs
- ContainerAction.cs
- ApplicationFileCodeDomTreeGenerator.cs
- Label.cs
- CodeEventReferenceExpression.cs
- CodePageEncoding.cs
- ObjectReaderCompiler.cs
- SqlServer2KCompatibilityCheck.cs
- TrustSection.cs
- UseAttributeSetsAction.cs
- SpeechSynthesizer.cs
- XmlWrappingWriter.cs
- Misc.cs
- TemplateInstanceAttribute.cs
- TraceUtility.cs
- RepeatButtonAutomationPeer.cs
- Line.cs
- Buffer.cs
- DataListItemEventArgs.cs
- StructuralObject.cs
- Polyline.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- GroupItemAutomationPeer.cs
- FileDialog.cs
- RTLAwareMessageBox.cs
- DataSourceConverter.cs
- AuthenticodeSignatureInformation.cs
- XmlSerializerSection.cs
- DataGridSortCommandEventArgs.cs
- SqlWorkflowInstanceStoreLock.cs
- TargetConverter.cs
- InvokeGenerator.cs
- XmlReturnWriter.cs
- SchemaType.cs
- ToolboxItemFilterAttribute.cs
- DbParameterCollectionHelper.cs
- SHA1CryptoServiceProvider.cs
- PropertyDescriptor.cs
- ObjectStateManagerMetadata.cs
- SqlFileStream.cs
- FixUpCollection.cs
- DocumentXmlWriter.cs
- FrameworkElementAutomationPeer.cs
- DbBuffer.cs
- ExtensibleClassFactory.cs
- DesignerForm.cs
- Matrix.cs
- NameValueConfigurationElement.cs
- tabpagecollectioneditor.cs
- SimpleRecyclingCache.cs
- SimpleTableProvider.cs
- VoiceChangeEventArgs.cs
- FileDialog.cs
- DynamicDocumentPaginator.cs
- TextAction.cs
- TypedDataSetSchemaImporterExtension.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- AttachmentService.cs
- InstallerTypeAttribute.cs
- ControlCachePolicy.cs
- TTSEvent.cs
- GeometryCollection.cs
- URLMembershipCondition.cs
- MimeParameterWriter.cs
- Image.cs
- ListViewTableRow.cs
- regiisutil.cs
- ShaderEffect.cs
- ErrorWrapper.cs
- QilTargetType.cs
- DataTemplateKey.cs
- DiscoveryReferences.cs
- OdbcConnectionPoolProviderInfo.cs
- DataGridColumnCollectionEditor.cs
- PageCatalogPart.cs
- AsymmetricKeyExchangeFormatter.cs
- UpdateProgress.cs
- PenThread.cs
- UserNameSecurityTokenProvider.cs
- PropertyItemInternal.cs
- DispatchWrapper.cs
- MSAAWinEventWrap.cs
- ToolStripGrip.cs
- DummyDataSource.cs
- SystemWebExtensionsSectionGroup.cs
- StylusPointPropertyUnit.cs
- MemberListBinding.cs
- SourceSwitch.cs
- ProgressChangedEventArgs.cs
- HostVisual.cs
- DefaultBindingPropertyAttribute.cs
- FileDialog.cs
- HttpStreamMessage.cs
- datacache.cs
- Condition.cs
- DeclaredTypeValidatorAttribute.cs
- Paragraph.cs
- FontCollection.cs
- XmlAttributeCollection.cs