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
- HttpCacheVary.cs
- SettingsBase.cs
- DataTableCollection.cs
- ValueProviderWrapper.cs
- EventManager.cs
- CombinedHttpChannel.cs
- ManifestSignatureInformation.cs
- CompatibleComparer.cs
- Interlocked.cs
- AssemblyAttributesGoHere.cs
- CodeTypeReferenceCollection.cs
- IItemProperties.cs
- RuleSettingsCollection.cs
- BatchParser.cs
- FormsIdentity.cs
- ProgramNode.cs
- XmlSchemaObject.cs
- ProviderConnectionPointCollection.cs
- TheQuery.cs
- HtmlHead.cs
- XmlBaseWriter.cs
- SrgsRulesCollection.cs
- PrinterUnitConvert.cs
- SelectionChangedEventArgs.cs
- SapiInterop.cs
- DataBoundControlAdapter.cs
- FamilyTypefaceCollection.cs
- ContentHostHelper.cs
- objectquery_tresulttype.cs
- CheckBoxBaseAdapter.cs
- StaticContext.cs
- recordstatescratchpad.cs
- SafeEventLogReadHandle.cs
- BooleanKeyFrameCollection.cs
- ResXResourceReader.cs
- RevocationPoint.cs
- oledbconnectionstring.cs
- ListViewItemMouseHoverEvent.cs
- ReachBasicContext.cs
- ComplexPropertyEntry.cs
- UserInitiatedNavigationPermission.cs
- VirtualDirectoryMapping.cs
- CacheChildrenQuery.cs
- MethodResolver.cs
- EventDescriptor.cs
- MappingItemCollection.cs
- ToolStripLabel.cs
- ArraySet.cs
- ServiceThrottlingBehavior.cs
- DataSourceSerializationException.cs
- AccessKeyManager.cs
- OdbcPermission.cs
- DataTemplate.cs
- PartEditor.cs
- RangeContentEnumerator.cs
- WebResponse.cs
- DropShadowBitmapEffect.cs
- MemberDescriptor.cs
- GeneralTransform3DTo2DTo3D.cs
- DataGridViewSortCompareEventArgs.cs
- HttpRequestCacheValidator.cs
- DataGridViewLayoutData.cs
- HitTestResult.cs
- ColumnClickEvent.cs
- GroupBoxAutomationPeer.cs
- XPathSingletonIterator.cs
- CollectionChangeEventArgs.cs
- OleDbInfoMessageEvent.cs
- IsolatedStorage.cs
- LinearKeyFrames.cs
- StorageScalarPropertyMapping.cs
- MessageQueueException.cs
- CompilerResults.cs
- CompareValidator.cs
- NavigationFailedEventArgs.cs
- SecurityException.cs
- UnmanagedHandle.cs
- WindowsNonControl.cs
- VariableQuery.cs
- StylusButton.cs
- HttpTransportElement.cs
- CodeRemoveEventStatement.cs
- CFStream.cs
- XmlValidatingReader.cs
- ReadOnlyDictionary.cs
- AdvancedBindingEditor.cs
- DataControlFieldTypeEditor.cs
- EntitySqlQueryCacheKey.cs
- MimeTypePropertyAttribute.cs
- PageRanges.cs
- ApplicationHost.cs
- DataTemplateKey.cs
- SqlBuffer.cs
- SQlBooleanStorage.cs
- ObjectItemCollection.cs
- DataObjectAttribute.cs
- XmlWriterSettings.cs
- ResourceDescriptionAttribute.cs
- PerformanceCounterScope.cs
- Int64Converter.cs