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
- DBDataPermissionAttribute.cs
- InsufficientMemoryException.cs
- ToolStripItemRenderEventArgs.cs
- MatrixIndependentAnimationStorage.cs
- TimeSpanConverter.cs
- SafeNativeMethodsCLR.cs
- MessageBox.cs
- CodeCompiler.cs
- OneOfTypeConst.cs
- RawKeyboardInputReport.cs
- DataRowComparer.cs
- CommandBindingCollection.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- InstanceDataCollection.cs
- EdmProperty.cs
- TypeConverters.cs
- ToolboxDataAttribute.cs
- Models.cs
- RenderContext.cs
- TemplateControl.cs
- EndpointAddressMessageFilter.cs
- ContentDisposition.cs
- XmlWrappingReader.cs
- DesignerActionPanel.cs
- IndicShape.cs
- ObjectQueryProvider.cs
- BooleanAnimationUsingKeyFrames.cs
- FullTextBreakpoint.cs
- ZipIOLocalFileDataDescriptor.cs
- ModelItemExtensions.cs
- DataBindingCollection.cs
- DynamicResourceExtension.cs
- ToolStripDropDown.cs
- DiscreteKeyFrames.cs
- ErrorFormatter.cs
- hwndwrapper.cs
- InvalidateEvent.cs
- MD5Cng.cs
- ValidationHelpers.cs
- DbFunctionCommandTree.cs
- UndoUnit.cs
- WindowsContainer.cs
- PipelineDeploymentState.cs
- ExtentKey.cs
- NodeInfo.cs
- DefaultShape.cs
- BamlResourceDeserializer.cs
- XmlILIndex.cs
- DictionarySectionHandler.cs
- AssemblyBuilder.cs
- ContractReference.cs
- SR.Designer.cs
- httpserverutility.cs
- CriticalFileToken.cs
- EdmTypeAttribute.cs
- StylusButton.cs
- IriParsingElement.cs
- LabelLiteral.cs
- SystemBrushes.cs
- RadioButtonList.cs
- BinarySecretSecurityToken.cs
- PointCollectionConverter.cs
- TransportContext.cs
- CalendarAutoFormatDialog.cs
- GeneralTransform3DGroup.cs
- BezierSegment.cs
- SoapReflector.cs
- PackWebRequest.cs
- WindowVisualStateTracker.cs
- DeflateStream.cs
- KeyedQueue.cs
- wgx_exports.cs
- ListChunk.cs
- ColorConvertedBitmap.cs
- ExpressionEditorSheet.cs
- EntityKeyElement.cs
- DataConnectionHelper.cs
- TextDecorationUnitValidation.cs
- HttpContextBase.cs
- MultiBindingExpression.cs
- EditorPartChrome.cs
- Number.cs
- CodeMethodMap.cs
- QilTargetType.cs
- ExpressionNormalizer.cs
- WeakEventManager.cs
- PersistNameAttribute.cs
- EntityViewGenerationConstants.cs
- StylusPointPropertyId.cs
- DbModificationCommandTree.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- PassportPrincipal.cs
- SpecialNameAttribute.cs
- State.cs
- SystemInformation.cs
- AddressUtility.cs
- PageHandlerFactory.cs
- HtmlInputSubmit.cs
- CreateParams.cs
- StreamWithDictionary.cs