Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- HierarchicalDataSourceIDConverter.cs
- BuildDependencySet.cs
- GradientStop.cs
- RegexParser.cs
- XmlnsDefinitionAttribute.cs
- Span.cs
- ConstraintStruct.cs
- Help.cs
- ToolStripGrip.cs
- QueueException.cs
- RtfToXamlLexer.cs
- XslNumber.cs
- ReadOnlyDataSource.cs
- CreateUserWizardStep.cs
- LineGeometry.cs
- XmlUrlResolver.cs
- TlsnegoTokenProvider.cs
- DataRowChangeEvent.cs
- ControlBindingsCollection.cs
- Section.cs
- HttpInputStream.cs
- _PooledStream.cs
- Debug.cs
- ConnectionsZone.cs
- RenderDataDrawingContext.cs
- SystemTcpConnection.cs
- IsolatedStorage.cs
- AddressingProperty.cs
- DependentList.cs
- TextHidden.cs
- ConnectionProviderAttribute.cs
- XmlLinkedNode.cs
- CompiledRegexRunnerFactory.cs
- NamespaceInfo.cs
- Int32Collection.cs
- COM2ComponentEditor.cs
- XmlIterators.cs
- TreeView.cs
- IssuanceLicense.cs
- Walker.cs
- TextDecorationCollection.cs
- ISAPIRuntime.cs
- TableColumnCollection.cs
- TimeZoneInfo.cs
- KeySplineConverter.cs
- ToolStripDesigner.cs
- PersistenceIOParticipant.cs
- PointAnimationBase.cs
- RenderContext.cs
- MembershipSection.cs
- PrintController.cs
- DataGridCellClipboardEventArgs.cs
- IdentityReference.cs
- HostingEnvironmentSection.cs
- DnsEndPoint.cs
- RoleGroup.cs
- WebDisplayNameAttribute.cs
- SubMenuStyleCollection.cs
- ChannelManagerService.cs
- Array.cs
- CodeTypeConstructor.cs
- ConnectionManagementElement.cs
- TemplateContentLoader.cs
- FormsAuthenticationModule.cs
- ContractsBCL.cs
- externdll.cs
- InheritanceContextHelper.cs
- EntityModelSchemaGenerator.cs
- AdornerPresentationContext.cs
- MenuEventArgs.cs
- CaseExpr.cs
- ConfigurationManagerHelper.cs
- TreeViewItemAutomationPeer.cs
- CodePropertyReferenceExpression.cs
- ListViewTableCell.cs
- Light.cs
- DataGridViewColumnTypePicker.cs
- HostedHttpContext.cs
- ToolStripControlHost.cs
- Barrier.cs
- ObjectStateEntry.cs
- PrincipalPermission.cs
- JulianCalendar.cs
- XmlElementAttributes.cs
- DbReferenceCollection.cs
- ClonableStack.cs
- SqlCharStream.cs
- SessionStateSection.cs
- MultipartContentParser.cs
- EntityConnectionStringBuilderItem.cs
- TemplateXamlParser.cs
- PerformanceCounterManager.cs
- DesignerSerializationOptionsAttribute.cs
- SettingsSection.cs
- DataGridViewElement.cs
- DataGridBoolColumn.cs
- BaseDataList.cs
- XamlFilter.cs
- MetabaseReader.cs
- FloaterBaseParaClient.cs