Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DataException.cs
- DataTemplateKey.cs
- Lasso.cs
- PartialCachingControl.cs
- WebPartHelpVerb.cs
- ConsoleCancelEventArgs.cs
- Point3DValueSerializer.cs
- ListViewInsertEventArgs.cs
- SecurityProtocolFactory.cs
- BitmapEffectInputData.cs
- SqlXml.cs
- XmlBindingWorker.cs
- StrokeIntersection.cs
- XmlQueryTypeFactory.cs
- ServiceActivationException.cs
- TrimSurroundingWhitespaceAttribute.cs
- BitmapData.cs
- HtmlShimManager.cs
- MouseGesture.cs
- Visual3D.cs
- OleDbParameter.cs
- ChildrenQuery.cs
- DocumentDesigner.cs
- AdjustableArrowCap.cs
- RegexGroup.cs
- StrongNameIdentityPermission.cs
- XmlMapping.cs
- Debug.cs
- CompiledELinqQueryState.cs
- HttpVersion.cs
- DelegateInArgument.cs
- RecordManager.cs
- NTAccount.cs
- SystemIPGlobalStatistics.cs
- MimeMapping.cs
- SelectionProcessor.cs
- AnimationClockResource.cs
- TdsEnums.cs
- PathSegment.cs
- MobileControlsSectionHelper.cs
- RequestResizeEvent.cs
- AuthenticationServiceManager.cs
- NGCUIElementCollectionSerializerAsync.cs
- JsonSerializer.cs
- SqlServices.cs
- QilReplaceVisitor.cs
- XmlMtomWriter.cs
- TableCell.cs
- NativeMethods.cs
- followingsibling.cs
- AttachInfo.cs
- SmtpNegotiateAuthenticationModule.cs
- KoreanLunisolarCalendar.cs
- FlowLayoutPanel.cs
- TitleStyle.cs
- ScriptServiceAttribute.cs
- PropertyInformation.cs
- SelectionRange.cs
- GifBitmapDecoder.cs
- CodeAccessSecurityEngine.cs
- ServicesUtilities.cs
- DataPointer.cs
- TransformPattern.cs
- DivideByZeroException.cs
- CompilationSection.cs
- EventMappingSettingsCollection.cs
- TimeoutValidationAttribute.cs
- FileLoadException.cs
- SerialPinChanges.cs
- WebBrowserEvent.cs
- QueuePathDialog.cs
- BuildProviderCollection.cs
- ImageCodecInfo.cs
- FrameAutomationPeer.cs
- Int16KeyFrameCollection.cs
- HMACSHA1.cs
- Variant.cs
- XPathEmptyIterator.cs
- RegistrySecurity.cs
- GlobalizationSection.cs
- TrackingProfile.cs
- Keywords.cs
- ComplexTypeEmitter.cs
- OleDbPropertySetGuid.cs
- TextFormatterImp.cs
- FixedSOMPageElement.cs
- ListenerSessionConnection.cs
- SerialReceived.cs
- WebBrowserDocumentCompletedEventHandler.cs
- ImageListStreamer.cs
- SqlConnectionStringBuilder.cs
- XmlJsonReader.cs
- RectAnimationUsingKeyFrames.cs
- DataObject.cs
- GlyphCollection.cs
- UnitControl.cs
- RepeatEnumerable.cs
- EventRecord.cs
- OdbcEnvironmentHandle.cs
- BadImageFormatException.cs