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
- DependencyObject.cs
- IDReferencePropertyAttribute.cs
- ToolStripScrollButton.cs
- TextTreeUndo.cs
- RichTextBoxAutomationPeer.cs
- EventEntry.cs
- ScalarOps.cs
- AtomicFile.cs
- XComponentModel.cs
- GlyphCollection.cs
- Camera.cs
- Base64Stream.cs
- AttributeEmitter.cs
- LinkConverter.cs
- EnvironmentPermission.cs
- ExpressionPrefixAttribute.cs
- SimpleWorkerRequest.cs
- DetailsViewInsertedEventArgs.cs
- AutomationPropertyInfo.cs
- SudsParser.cs
- CodeThrowExceptionStatement.cs
- ChangeNode.cs
- XmlReflectionMember.cs
- References.cs
- SizeF.cs
- ExceptionWrapper.cs
- ObjectListCommand.cs
- XamlStream.cs
- DesignerOptionService.cs
- EntityConnection.cs
- PackUriHelper.cs
- MessageBodyDescription.cs
- PageThemeBuildProvider.cs
- DecodeHelper.cs
- DataGridViewCellParsingEventArgs.cs
- IResourceProvider.cs
- FrameworkContentElementAutomationPeer.cs
- VisualStateManager.cs
- HtmlProps.cs
- Grid.cs
- ControlParameter.cs
- AspProxy.cs
- PreviewKeyDownEventArgs.cs
- LogLogRecordEnumerator.cs
- DateTimeFormatInfo.cs
- OdbcConnectionFactory.cs
- GenericsInstances.cs
- SoapCodeExporter.cs
- ApplicationContext.cs
- DbProviderFactoriesConfigurationHandler.cs
- ButtonRenderer.cs
- ToolStripGripRenderEventArgs.cs
- WizardStepBase.cs
- StrongNamePublicKeyBlob.cs
- XmlWriterTraceListener.cs
- Timeline.cs
- PenThreadWorker.cs
- DivideByZeroException.cs
- MultiSelector.cs
- LinqToSqlWrapper.cs
- WebDescriptionAttribute.cs
- SaveFileDialog.cs
- EventProvider.cs
- Frame.cs
- CompilerWrapper.cs
- ScriptingSectionGroup.cs
- ResetableIterator.cs
- Condition.cs
- NullableConverter.cs
- EventBuilder.cs
- KeyedHashAlgorithm.cs
- ConstantSlot.cs
- SafeBitVector32.cs
- SafeFileHandle.cs
- SingleTagSectionHandler.cs
- HtmlWindowCollection.cs
- ellipse.cs
- Empty.cs
- DurableRuntimeValidator.cs
- WsdlBuildProvider.cs
- PropertyRef.cs
- XamlTypeMapperSchemaContext.cs
- DefaultPrintController.cs
- TableRow.cs
- CmsInterop.cs
- SystemIPAddressInformation.cs
- ProcessInfo.cs
- IRCollection.cs
- LinqDataSourceStatusEventArgs.cs
- PrintDialog.cs
- PointCollection.cs
- PartManifestEntry.cs
- HuffCodec.cs
- ConfigurationSettings.cs
- UnknownMessageReceivedEventArgs.cs
- PersistencePipeline.cs
- SecurityChannelFactory.cs
- SecurityManager.cs
- SystemFonts.cs
- sqlpipe.cs