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
- Mappings.cs
- PathFigureCollectionConverter.cs
- Listbox.cs
- arclist.cs
- ThreadAbortException.cs
- SmiMetaDataProperty.cs
- VersionPair.cs
- TemplateColumn.cs
- AdRotator.cs
- UriScheme.cs
- PolicyException.cs
- ToolStripOverflow.cs
- TemplateEditingService.cs
- WSFederationHttpSecurityElement.cs
- DockAndAnchorLayout.cs
- HtmlElement.cs
- AsyncCompletedEventArgs.cs
- OperatingSystem.cs
- RegistryConfigurationProvider.cs
- Control.cs
- LazyTextWriterCreator.cs
- ListControl.cs
- DesignerLoader.cs
- RouteCollection.cs
- Typeface.cs
- FormViewUpdateEventArgs.cs
- BooleanFacetDescriptionElement.cs
- OracleConnection.cs
- StreamSecurityUpgradeAcceptorBase.cs
- DesignTimeParseData.cs
- DbProviderFactory.cs
- ListItemsCollectionEditor.cs
- WebHttpSecurityModeHelper.cs
- RedistVersionInfo.cs
- ContextInformation.cs
- QueryInterceptorAttribute.cs
- WebPartUserCapability.cs
- CompositeControl.cs
- FlowDecisionDesigner.xaml.cs
- ObjectTag.cs
- PreservationFileWriter.cs
- ManagementInstaller.cs
- FaultHandlingFilter.cs
- ResizeGrip.cs
- StringArrayConverter.cs
- ColorPalette.cs
- WebBrowserContainer.cs
- PersonalizationStateInfoCollection.cs
- ClientTargetCollection.cs
- Schedule.cs
- DocumentReference.cs
- SoapIncludeAttribute.cs
- ClientData.cs
- BindingExpressionBase.cs
- ToolboxItemAttribute.cs
- XmlTypeMapping.cs
- ResourceAssociationSet.cs
- ScaleTransform3D.cs
- ServiceReflector.cs
- CodeConstructor.cs
- SafeSystemMetrics.cs
- KoreanCalendar.cs
- OptimizerPatterns.cs
- ZoomComboBox.cs
- DoubleAnimationUsingPath.cs
- GridViewActionList.cs
- BamlWriter.cs
- WindowsGraphics.cs
- RemoteArgument.cs
- AssemblySettingAttributes.cs
- TrustManagerPromptUI.cs
- GregorianCalendarHelper.cs
- CheckBoxBaseAdapter.cs
- ZipIOLocalFileBlock.cs
- DecimalStorage.cs
- InvokePattern.cs
- SqlOuterApplyReducer.cs
- TimerElapsedEvenArgs.cs
- MetadataPropertyCollection.cs
- AssociativeAggregationOperator.cs
- Odbc32.cs
- ObjectParameter.cs
- ToolStripSettings.cs
- SoundPlayer.cs
- WebServiceErrorEvent.cs
- PlainXmlDeserializer.cs
- ScriptControlDescriptor.cs
- PenThreadPool.cs
- WsdlHelpGeneratorElement.cs
- RelationshipSet.cs
- QueryOutputWriter.cs
- ProgressBarAutomationPeer.cs
- TagMapCollection.cs
- SystemUnicastIPAddressInformation.cs
- RawStylusSystemGestureInputReport.cs
- DataMisalignedException.cs
- WindowsIdentity.cs
- XmlNode.cs
- WindowsToolbarAsMenu.cs
- InstanceValue.cs