Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Server / System / Data / Services / ProcessRequestArgs.cs / 1305376 / 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. /// Context about the current operation being processed. internal ProcessRequestArgs(Uri requestUri, bool isBatchOperation, DataServiceOperationContext operationContext) { System.Diagnostics.Debug.Assert(requestUri != null, "requestUri != null"); this.requestUri = requestUri; this.isBatchOperation = isBatchOperation; this.OperationContext = operationContext; } #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; } } ///Context about the current operation being processed. public DataServiceOperationContext OperationContext { get; private set; } #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. /// Context about the current operation being processed. internal ProcessRequestArgs(Uri requestUri, bool isBatchOperation, DataServiceOperationContext operationContext) { System.Diagnostics.Debug.Assert(requestUri != null, "requestUri != null"); this.requestUri = requestUri; this.isBatchOperation = isBatchOperation; this.OperationContext = operationContext; } #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; } } ///Context about the current operation being processed. public DataServiceOperationContext OperationContext { get; private set; } #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
- _SecureChannel.cs
- BookmarkWorkItem.cs
- PointHitTestParameters.cs
- PreviewPrintController.cs
- PartialCachingAttribute.cs
- ParallelQuery.cs
- AnalyzedTree.cs
- TextRange.cs
- ViewKeyConstraint.cs
- ShapingEngine.cs
- COM2Properties.cs
- MultipartContentParser.cs
- InstancePersistenceEvent.cs
- Section.cs
- SelectionItemProviderWrapper.cs
- NavigationPropertyEmitter.cs
- TextEndOfLine.cs
- BufferedReadStream.cs
- WebPageTraceListener.cs
- SingleQueryOperator.cs
- EdmFunction.cs
- MexHttpBindingElement.cs
- RegexParser.cs
- CodeConstructor.cs
- HttpServerProtocol.cs
- Matrix.cs
- PageClientProxyGenerator.cs
- PropertyValueUIItem.cs
- LoginStatusDesigner.cs
- PointLight.cs
- MasterPage.cs
- InstanceDataCollection.cs
- DrawingCollection.cs
- ServiceX509SecurityTokenProvider.cs
- TypeToken.cs
- CLSCompliantAttribute.cs
- HWStack.cs
- XmlWrappingReader.cs
- XmlSchemaComplexContent.cs
- XpsResource.cs
- CreateUserErrorEventArgs.cs
- BaseCAMarshaler.cs
- TableLayoutPanelCellPosition.cs
- UIElement3DAutomationPeer.cs
- sortedlist.cs
- TrackBarRenderer.cs
- PartialClassGenerationTask.cs
- ReaderOutput.cs
- PrintPageEvent.cs
- DataGridState.cs
- MessageProperties.cs
- MessageBox.cs
- EventlogProvider.cs
- SoapSchemaImporter.cs
- FileIOPermission.cs
- ObjectHelper.cs
- MemberPath.cs
- TreeBuilder.cs
- PrintPreviewGraphics.cs
- MaskPropertyEditor.cs
- Schema.cs
- XmlSchemaSimpleContent.cs
- EventLog.cs
- StringOutput.cs
- PageAdapter.cs
- PerformanceCounterManager.cs
- StringKeyFrameCollection.cs
- BindingOperations.cs
- TraceFilter.cs
- BufferedReceiveElement.cs
- Permission.cs
- NextPreviousPagerField.cs
- CodeCompiler.cs
- ToolboxItemFilterAttribute.cs
- ThemeInfoAttribute.cs
- DynamicAttribute.cs
- FlowDecisionDesigner.xaml.cs
- TypeConverterValueSerializer.cs
- COM2IDispatchConverter.cs
- TextComposition.cs
- Int64AnimationBase.cs
- CountdownEvent.cs
- HashCodeCombiner.cs
- IPGlobalProperties.cs
- GuidTagList.cs
- Comparer.cs
- CompositeCollectionView.cs
- KerberosTicketHashIdentifierClause.cs
- TextEmbeddedObject.cs
- ObjectSet.cs
- EventLogTraceListener.cs
- SourceLocation.cs
- TableItemStyle.cs
- SafeRightsManagementHandle.cs
- ContentPlaceHolder.cs
- GetResponse.cs
- FormsAuthenticationTicket.cs
- X509Utils.cs
- TagPrefixAttribute.cs
- FontDriver.cs