Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Data / System / Data / Sql / SqlNotificationRequest.cs / 1 / SqlNotificationRequest.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data.Sql { using System; using System.Data.Common; using System.Data.SqlClient; // [System.ComponentModel.TypeConverterAttribute(typeof(System.Data.Sql.SqlNotificationRequest.SqlNotificationRequestConverter))] #if WINFSInternalOnly internal #else public #endif sealed class SqlNotificationRequest { private string _userData; private string _options; private int _timeout; public SqlNotificationRequest() : this(null, null, SqlClient.SQL.SqlDependencyTimeoutDefault) {} public SqlNotificationRequest(string userData, string options, int timeout) { UserData = userData; Timeout = timeout; Options = options; } public string Options { get { return _options; } set { if ((null != value) && (UInt16.MaxValue < value.Length)) { throw ADP.ArgumentOutOfRange(String.Empty, ADP.ParameterService); } _options = value; } } public int Timeout { get { return _timeout; } set { if (0 > value) { throw ADP.ArgumentOutOfRange(String.Empty, ADP.ParameterTimeout); } _timeout = value; } } public string UserData { get { return _userData; } set { if ((null != value) && (UInt16.MaxValue < value.Length)) { throw ADP.ArgumentOutOfRange(String.Empty, ADP.ParameterUserData); } _userData = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DefaultProxySection.cs
- SHA1Cng.cs
- CodeArrayIndexerExpression.cs
- newinstructionaction.cs
- UnsafeNativeMethods.cs
- QueryCacheManager.cs
- CopyCodeAction.cs
- graph.cs
- XmlMtomReader.cs
- FormsIdentity.cs
- SQLUtility.cs
- MemoryRecordBuffer.cs
- TypeConstant.cs
- SpnEndpointIdentityExtension.cs
- EdmConstants.cs
- ValueTypeFixupInfo.cs
- SqlCaseSimplifier.cs
- IItemContainerGenerator.cs
- BitmapEffectDrawingContextState.cs
- _SecureChannel.cs
- WebBrowserContainer.cs
- XmlDataContract.cs
- IODescriptionAttribute.cs
- AVElementHelper.cs
- OleDbDataReader.cs
- XmlBinaryReader.cs
- ContentPathSegment.cs
- FontCacheUtil.cs
- IPGlobalProperties.cs
- Input.cs
- VisualTreeUtils.cs
- Metadata.cs
- ObjectTag.cs
- ResourceDictionaryCollection.cs
- X509Certificate2.cs
- FontEmbeddingManager.cs
- RawContentTypeMapper.cs
- ColorConvertedBitmap.cs
- MatrixTransform3D.cs
- TrackingValidationObjectDictionary.cs
- RevocationPoint.cs
- SecurityAlgorithmSuiteConverter.cs
- SendingRequestEventArgs.cs
- ThousandthOfEmRealDoubles.cs
- SqlClientMetaDataCollectionNames.cs
- TextRenderer.cs
- RelationshipEndCollection.cs
- _HeaderInfoTable.cs
- ExclusiveCanonicalizationTransform.cs
- DataServiceResponse.cs
- HashMembershipCondition.cs
- WpfWebRequestHelper.cs
- XamlTreeBuilder.cs
- DecimalFormatter.cs
- SafeLibraryHandle.cs
- MemberAssignmentAnalysis.cs
- HttpPostProtocolImporter.cs
- ObfuscateAssemblyAttribute.cs
- SemaphoreFullException.cs
- TaskForm.cs
- TimeEnumHelper.cs
- TextRange.cs
- EmissiveMaterial.cs
- XmlSerializer.cs
- RowTypeElement.cs
- CallbackDebugBehavior.cs
- TextEffectCollection.cs
- TryExpression.cs
- ContainerParagraph.cs
- WebPartMinimizeVerb.cs
- SynchronizedDispatch.cs
- ClaimTypes.cs
- FontDriver.cs
- ItemCollection.cs
- FixedStringLookup.cs
- DataViewManagerListItemTypeDescriptor.cs
- PopupRoot.cs
- HtmlEmptyTagControlBuilder.cs
- SqlRowUpdatedEvent.cs
- ExpressionBuilderCollection.cs
- MarkupObject.cs
- LayoutEngine.cs
- DataGridColumn.cs
- FileChangesMonitor.cs
- XmlTextWriter.cs
- FixedSOMTableRow.cs
- DecoderNLS.cs
- QilLoop.cs
- SystemMulticastIPAddressInformation.cs
- peernodestatemanager.cs
- GradientStop.cs
- Header.cs
- Schedule.cs
- Stack.cs
- DriveInfo.cs
- TabControl.cs
- BitmapEffect.cs
- TransformerInfo.cs
- ConfigurationElement.cs
- GregorianCalendar.cs