Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StringUtil.cs
- HtmlMeta.cs
- CheckPair.cs
- PlacementWorkspace.cs
- PolicyManager.cs
- HttpContextBase.cs
- CodeEntryPointMethod.cs
- ScriptHandlerFactory.cs
- PlainXmlWriter.cs
- GlobalId.cs
- SelectionChangedEventArgs.cs
- BorderGapMaskConverter.cs
- FileDialogPermission.cs
- AnimationTimeline.cs
- WmlValidationSummaryAdapter.cs
- PrinterSettings.cs
- DeferredTextReference.cs
- LogLogRecordHeader.cs
- TreeViewHitTestInfo.cs
- CaseInsensitiveComparer.cs
- TraceHandlerErrorFormatter.cs
- RIPEMD160.cs
- LogicalTreeHelper.cs
- XslTransform.cs
- ApplicationFileCodeDomTreeGenerator.cs
- IpcChannel.cs
- ServiceHostingEnvironment.cs
- StreamSecurityUpgradeInitiatorBase.cs
- SmtpReplyReaderFactory.cs
- PanelStyle.cs
- XmlDocument.cs
- AnimationTimeline.cs
- CategoryGridEntry.cs
- CapabilitiesSection.cs
- OleDbParameterCollection.cs
- ErrorLog.cs
- CatalogZoneBase.cs
- WindowsFormsHelpers.cs
- GeneratedContractType.cs
- Events.cs
- SoapFault.cs
- AlternateViewCollection.cs
- RootDesignerSerializerAttribute.cs
- webbrowsersite.cs
- HelpProvider.cs
- IOException.cs
- ChildChangedEventArgs.cs
- XamlStackWriter.cs
- VarRefManager.cs
- OneOfTypeConst.cs
- DbExpressionBuilder.cs
- Figure.cs
- DescendantBaseQuery.cs
- CellIdBoolean.cs
- ViewManagerAttribute.cs
- XPathDocumentNavigator.cs
- AtomContentProperty.cs
- _AutoWebProxyScriptEngine.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- AppearanceEditorPart.cs
- _NetworkingPerfCounters.cs
- SRGSCompiler.cs
- wgx_commands.cs
- SerializerDescriptor.cs
- WorkerRequest.cs
- WebScriptMetadataMessageEncoderFactory.cs
- SSmlParser.cs
- DataObject.cs
- XmlnsCache.cs
- SqlCommandBuilder.cs
- MatrixConverter.cs
- MimeTypeMapper.cs
- XmlReturnWriter.cs
- CodeBlockBuilder.cs
- BrowserCapabilitiesFactoryBase.cs
- ViewStateChangedEventArgs.cs
- SelectingProviderEventArgs.cs
- QueryAsyncResult.cs
- ConfigurationManagerHelper.cs
- Compensation.cs
- XmlElementAttribute.cs
- ObjectConverter.cs
- StartUpEventArgs.cs
- SimpleMailWebEventProvider.cs
- MD5CryptoServiceProvider.cs
- WebPartConnectionsEventArgs.cs
- Compiler.cs
- HashHelper.cs
- CompModHelpers.cs
- Translator.cs
- FlowLayoutSettings.cs
- ListSortDescription.cs
- IndentTextWriter.cs
- DependencyPropertyKind.cs
- WriteableBitmap.cs
- SoundPlayerAction.cs
- NonBatchDirectoryCompiler.cs
- AsymmetricAlgorithm.cs
- SafeCryptHandles.cs
- FileIOPermission.cs