Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataWeb / Server / System / Data / Services / ProcessRequestArgs.cs / 1 / ProcessRequestArgs.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Provides a class to provide information about the request // that is going to be processed. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services { using System; ///Use this class to look at the request uri and doing some custom validation. public sealed class ProcessRequestArgs { #region Private fields. ///The uri for this request. private readonly Uri requestUri; ///True if this request is a operation specified within a batch request, otherwise false. private readonly bool isBatchOperation; #endregion Private fields. #region Constructors. ///Initalizes a new /// The uri for this request. /// True if this request is a operation specified within a batch request, otherwise false. internal ProcessRequestArgs(Uri requestUri, bool isBatchOperation) { System.Diagnostics.Debug.Assert(requestUri != null, "requestUri != null"); this.requestUri = requestUri; this.isBatchOperation = isBatchOperation; } #endregion Constructors. #region Public Properties. ///instance. The uri for this request that is about to get processed. public Uri RequestUri { get { return this.requestUri; } } ///Returns true if this request is a operation specified within a batch request, otherwise returns false. public bool IsBatchOperation { get { return this.isBatchOperation; } } #endregion Public Properties. } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Provides a class to provide information about the request // that is going to be processed. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services { using System; ///Use this class to look at the request uri and doing some custom validation. public sealed class ProcessRequestArgs { #region Private fields. ///The uri for this request. private readonly Uri requestUri; ///True if this request is a operation specified within a batch request, otherwise false. private readonly bool isBatchOperation; #endregion Private fields. #region Constructors. ///Initalizes a new /// The uri for this request. /// True if this request is a operation specified within a batch request, otherwise false. internal ProcessRequestArgs(Uri requestUri, bool isBatchOperation) { System.Diagnostics.Debug.Assert(requestUri != null, "requestUri != null"); this.requestUri = requestUri; this.isBatchOperation = isBatchOperation; } #endregion Constructors. #region Public Properties. ///instance. The uri for this request that is about to get processed. public Uri RequestUri { get { return this.requestUri; } } ///Returns true if this request is a operation specified within a batch request, otherwise returns false. public bool IsBatchOperation { get { return this.isBatchOperation; } } #endregion Public Properties. } } // 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
- ParserContext.cs
- URLMembershipCondition.cs
- DbConnectionStringBuilder.cs
- DbConnectionPoolGroupProviderInfo.cs
- DirectoryObjectSecurity.cs
- StringHandle.cs
- NamespaceList.cs
- AdPostCacheSubstitution.cs
- InstanceData.cs
- Signature.cs
- Translator.cs
- ActivityXRefConverter.cs
- SvcMapFileSerializer.cs
- fixedPageContentExtractor.cs
- UnmanagedMarshal.cs
- ZipArchive.cs
- FixedLineResult.cs
- ObjectDataProvider.cs
- XmlSerializer.cs
- SqlTriggerAttribute.cs
- __FastResourceComparer.cs
- EpmSourceTree.cs
- ApplicationDirectory.cs
- DefaultValueAttribute.cs
- DesignerTransactionCloseEvent.cs
- RealizationDrawingContextWalker.cs
- StyleSelector.cs
- TabControl.cs
- CapabilitiesSection.cs
- ObjectView.cs
- DocumentPageView.cs
- ManagementScope.cs
- CodeTypeReferenceCollection.cs
- StyleModeStack.cs
- TypedDatasetGenerator.cs
- SortDescriptionCollection.cs
- PackageDocument.cs
- SerializationEventsCache.cs
- SqlCrossApplyToCrossJoin.cs
- SoapAttributeOverrides.cs
- GacUtil.cs
- RemotingSurrogateSelector.cs
- TypefaceMap.cs
- Queue.cs
- SqlDeflator.cs
- CurrencyWrapper.cs
- ArgumentOutOfRangeException.cs
- Accessible.cs
- HtmlControl.cs
- UIntPtr.cs
- DbSetClause.cs
- TextRunCache.cs
- MarkupCompilePass2.cs
- DynamicILGenerator.cs
- _KerberosClient.cs
- FileCodeGroup.cs
- AttachInfo.cs
- ComplexObject.cs
- CommonRemoteMemoryBlock.cs
- ConnectorRouter.cs
- DataGridViewCellStyle.cs
- ToolTipService.cs
- TargetPerspective.cs
- PolygonHotSpot.cs
- XsdBuildProvider.cs
- ProcessModule.cs
- Exceptions.cs
- UriParserTemplates.cs
- LocalizableAttribute.cs
- XmlWrappingReader.cs
- MtomMessageEncodingElement.cs
- EditorBrowsableAttribute.cs
- SupportingTokenChannel.cs
- Point3D.cs
- UIElementParagraph.cs
- DeflateInput.cs
- ADMembershipProvider.cs
- GeneralTransform.cs
- ResizeBehavior.cs
- KeyInstance.cs
- FrameworkContentElementAutomationPeer.cs
- ConfigXmlCDataSection.cs
- HtmlGenericControl.cs
- HGlobalSafeHandle.cs
- CalendarDayButton.cs
- ContentType.cs
- InternalBufferOverflowException.cs
- PlatformCulture.cs
- COAUTHINFO.cs
- DataContractSerializerElement.cs
- PageContentCollection.cs
- ViewStateException.cs
- FileNotFoundException.cs
- PasswordTextNavigator.cs
- XmlUTF8TextReader.cs
- TextSearch.cs
- ManifestResourceInfo.cs
- coordinatorscratchpad.cs
- BrowserCapabilitiesFactoryBase.cs
- newinstructionaction.cs