Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Int64Animation.cs
- TextServicesManager.cs
- LinkTarget.cs
- DynamicPhysicalDiscoSearcher.cs
- UnaryNode.cs
- ProxyWebPartManager.cs
- PropertyConverter.cs
- ByteAnimationBase.cs
- DetectEofStream.cs
- InvalidTimeZoneException.cs
- ReferenceConverter.cs
- ManualResetEvent.cs
- ByteStorage.cs
- DelegatingChannelListener.cs
- Decoder.cs
- CompilerLocalReference.cs
- WebPartMinimizeVerb.cs
- Screen.cs
- UIElement3D.cs
- BasicDesignerLoader.cs
- DelegateBodyWriter.cs
- HTTPNotFoundHandler.cs
- CommandDevice.cs
- ListBoxItemWrapperAutomationPeer.cs
- AppSettingsReader.cs
- FontCollection.cs
- ValueTypeFixupInfo.cs
- PseudoWebRequest.cs
- SqlDataSourceQueryEditor.cs
- QueueNameHelper.cs
- propertyentry.cs
- _AutoWebProxyScriptEngine.cs
- ProjectionPathSegment.cs
- DataComponentNameHandler.cs
- WebPartCollection.cs
- PlaceHolder.cs
- BypassElement.cs
- ValidatorUtils.cs
- odbcmetadatacolumnnames.cs
- XmlSchemaType.cs
- SecurityDescriptor.cs
- PolygonHotSpot.cs
- MasterPageCodeDomTreeGenerator.cs
- SuppressMessageAttribute.cs
- WebPartTransformer.cs
- RemotingService.cs
- ServiceNameElement.cs
- HelloMessageCD1.cs
- EDesignUtil.cs
- NamespaceQuery.cs
- OracleConnection.cs
- IteratorFilter.cs
- ComPlusTypeLoader.cs
- TabControl.cs
- MultilineStringEditor.cs
- WorkflowApplicationException.cs
- UriTemplatePathSegment.cs
- CodeDefaultValueExpression.cs
- JsonWriterDelegator.cs
- ObjectReferenceStack.cs
- ArithmeticException.cs
- AnimationClockResource.cs
- FrameworkElementAutomationPeer.cs
- SoapAttributeAttribute.cs
- FormatSelectingMessageInspector.cs
- Evaluator.cs
- _Connection.cs
- Rotation3D.cs
- PointIndependentAnimationStorage.cs
- WebPartZoneBase.cs
- GeneratedView.cs
- ClientConfigurationHost.cs
- BinarySerializer.cs
- UpdateCompiler.cs
- WebPartMenu.cs
- TextureBrush.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- returneventsaver.cs
- HelloOperationCD1AsyncResult.cs
- Menu.cs
- StylusEventArgs.cs
- OSFeature.cs
- NameNode.cs
- XslCompiledTransform.cs
- HtmlImage.cs
- XmlObjectSerializerReadContext.cs
- PropertyInfoSet.cs
- _AuthenticationState.cs
- Mapping.cs
- EntityProviderFactory.cs
- DataControlImageButton.cs
- ReadOnlyDictionary.cs
- TextModifier.cs
- InternalConfigHost.cs
- DataRecord.cs
- CommandBinding.cs
- AnnotationStore.cs
- WindowsSecurityTokenAuthenticator.cs
- BackgroundFormatInfo.cs
- Transform.cs