Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- SmiRequestExecutor.cs
- DelayedRegex.cs
- ExtendedPropertyInfo.cs
- XmlDataSourceView.cs
- Pool.cs
- CodeTypeOfExpression.cs
- EventPrivateKey.cs
- basecomparevalidator.cs
- HighlightComponent.cs
- BaseInfoTable.cs
- StateDesigner.CommentLayoutGlyph.cs
- DispatchWrapper.cs
- PersonalizableTypeEntry.cs
- RepeatButtonAutomationPeer.cs
- InternalDispatchObject.cs
- ClientSettingsStore.cs
- BamlBinaryWriter.cs
- XPathPatternParser.cs
- CommandLibraryHelper.cs
- BitmapPalette.cs
- BlurBitmapEffect.cs
- ApplicationServiceManager.cs
- FormsAuthenticationEventArgs.cs
- ContractComponent.cs
- ListContractAdapter.cs
- StateMachine.cs
- OleCmdHelper.cs
- GorillaCodec.cs
- ExeConfigurationFileMap.cs
- SqlTriggerContext.cs
- TimeSpanMinutesConverter.cs
- _HelperAsyncResults.cs
- SkewTransform.cs
- BinaryFormatterWriter.cs
- ClientScriptManagerWrapper.cs
- XmlTypeAttribute.cs
- SafePEFileHandle.cs
- HttpListenerPrefixCollection.cs
- _CommandStream.cs
- LineMetrics.cs
- PageParser.cs
- LineProperties.cs
- PackageDigitalSignature.cs
- SwitchLevelAttribute.cs
- StrokeCollectionDefaultValueFactory.cs
- Token.cs
- RepeatInfo.cs
- ButtonColumn.cs
- mediaeventargs.cs
- ColorConvertedBitmap.cs
- ClickablePoint.cs
- IntSecurity.cs
- BrowserCapabilitiesFactoryBase.cs
- Setter.cs
- DomNameTable.cs
- WSFederationHttpSecurityElement.cs
- SessionEndingEventArgs.cs
- ChooseAction.cs
- HighlightVisual.cs
- ListParaClient.cs
- ConditionChanges.cs
- Quaternion.cs
- Opcode.cs
- UxThemeWrapper.cs
- DateTimeSerializationSection.cs
- RelationshipDetailsRow.cs
- CallbackValidatorAttribute.cs
- DynamicUpdateCommand.cs
- TemplatePropertyEntry.cs
- InvalidFilterCriteriaException.cs
- __Filters.cs
- CodeArrayIndexerExpression.cs
- TableItemPatternIdentifiers.cs
- GatewayDefinition.cs
- KeyInterop.cs
- HttpResponse.cs
- X509ThumbprintKeyIdentifierClause.cs
- PerformanceCounterNameAttribute.cs
- SimpleBitVector32.cs
- TextTreeObjectNode.cs
- arabicshape.cs
- IntegerValidator.cs
- FieldMetadata.cs
- AutomationProperties.cs
- SymbolTable.cs
- XmlReflectionImporter.cs
- XComponentModel.cs
- BackStopAuthenticationModule.cs
- GCHandleCookieTable.cs
- XpsLiterals.cs
- TransformedBitmap.cs
- Size.cs
- ConditionValidator.cs
- SHA1Managed.cs
- ForwardPositionQuery.cs
- WindowsGrip.cs
- QilNode.cs
- StringDictionaryEditor.cs
- GenerateTemporaryTargetAssembly.cs
- ListenerSingletonConnectionReader.cs