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
- HttpListenerContext.cs
- InvalidPropValue.cs
- HandleRef.cs
- ToolboxItemLoader.cs
- SmtpNegotiateAuthenticationModule.cs
- X509WindowsSecurityToken.cs
- WinEventQueueItem.cs
- DataStreamFromComStream.cs
- InfiniteIntConverter.cs
- CursorConverter.cs
- NumberFormatInfo.cs
- BackStopAuthenticationModule.cs
- SqlParameterCollection.cs
- TokenDescriptor.cs
- OpenFileDialog.cs
- DateTimePicker.cs
- CodeExpressionStatement.cs
- SAPIEngineTypes.cs
- FilteredXmlReader.cs
- ChangePasswordDesigner.cs
- NavigationWindowAutomationPeer.cs
- TypeConverter.cs
- DynamicActivityProperty.cs
- Random.cs
- RoleGroupCollection.cs
- GuidelineSet.cs
- querybuilder.cs
- IgnoreFlushAndCloseStream.cs
- MethodCallExpression.cs
- XMLSchema.cs
- DataGridViewTextBoxEditingControl.cs
- KeyGestureConverter.cs
- ErrorHandler.cs
- WmpBitmapDecoder.cs
- RadioButton.cs
- HelpKeywordAttribute.cs
- CodeDomExtensionMethods.cs
- PersonalizableTypeEntry.cs
- XmlAnyAttributeAttribute.cs
- QilIterator.cs
- FaultBookmark.cs
- AppDomainGrammarProxy.cs
- DetailsViewPagerRow.cs
- HttpRequestMessageProperty.cs
- SelectedGridItemChangedEvent.cs
- PostBackTrigger.cs
- ColumnCollection.cs
- Scene3D.cs
- input.cs
- ApplicationProxyInternal.cs
- Latin1Encoding.cs
- PropertyTabAttribute.cs
- ToolStripCollectionEditor.cs
- DocComment.cs
- MoveSizeWinEventHandler.cs
- ProviderBase.cs
- DetailsView.cs
- EmbeddedMailObjectsCollection.cs
- IsolatedStoragePermission.cs
- FacetChecker.cs
- MenuItem.cs
- TypeHelpers.cs
- ContextMenu.cs
- _LazyAsyncResult.cs
- Utils.cs
- InstalledFontCollection.cs
- DrawingVisualDrawingContext.cs
- GridViewUpdateEventArgs.cs
- WindowsListViewItemStartMenu.cs
- SchemaImporterExtensionElement.cs
- HashCodeCombiner.cs
- MsmqTransportSecurityElement.cs
- SchemaImporterExtension.cs
- ComplexTypeEmitter.cs
- InvalidWorkflowException.cs
- SqlServices.cs
- PrimaryKeyTypeConverter.cs
- TextEditorThreadLocalStore.cs
- UriWriter.cs
- UITypeEditor.cs
- DoWhile.cs
- MenuItemStyle.cs
- EventRecord.cs
- VisualTreeHelper.cs
- ElementUtil.cs
- RelationshipWrapper.cs
- TreeWalkHelper.cs
- PagerSettings.cs
- SkewTransform.cs
- PathSegmentCollection.cs
- WebControlsSection.cs
- ImageCodecInfoPrivate.cs
- IISMapPath.cs
- PopupEventArgs.cs
- Binding.cs
- NetworkInterface.cs
- Int32CollectionValueSerializer.cs
- ApplicationFileCodeDomTreeGenerator.cs
- Size3D.cs
- ResolvedKeyFrameEntry.cs