Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TemplateContent.cs
- ClientConfigurationHost.cs
- Group.cs
- AppDomainManager.cs
- MessageSecurityProtocolFactory.cs
- SafeLocalMemHandle.cs
- TimeZoneInfo.cs
- FileCodeGroup.cs
- objectquery_tresulttype.cs
- DataTableReaderListener.cs
- BuildResult.cs
- PropertyConverter.cs
- dtdvalidator.cs
- CheckedPointers.cs
- TemplateBaseAction.cs
- PropertyValueUIItem.cs
- IisTraceListener.cs
- WebPartCollection.cs
- PlatformNotSupportedException.cs
- SkewTransform.cs
- PageTheme.cs
- JoinElimination.cs
- ReadOnlyTernaryTree.cs
- ConditionCollection.cs
- NodeLabelEditEvent.cs
- FormParameter.cs
- RadioButton.cs
- ObjectDisposedException.cs
- DataGridViewSelectedColumnCollection.cs
- PropertyGroupDescription.cs
- TraceHelpers.cs
- XPathException.cs
- SHA512.cs
- MemberDescriptor.cs
- categoryentry.cs
- AppSettingsExpressionEditor.cs
- Int64.cs
- XmlLinkedNode.cs
- PopupRoot.cs
- RootBuilder.cs
- XPathException.cs
- SiteIdentityPermission.cs
- FacetDescription.cs
- UpdatePanel.cs
- CharConverter.cs
- _HeaderInfoTable.cs
- AttachmentCollection.cs
- SiteMapHierarchicalDataSourceView.cs
- AttachmentService.cs
- XmlSortKeyAccumulator.cs
- TreeViewAutomationPeer.cs
- DataSourceDesigner.cs
- ListView.cs
- MetadataCacheItem.cs
- XamlTreeBuilder.cs
- DocumentNUp.cs
- Resources.Designer.cs
- StaticExtension.cs
- ProviderCollection.cs
- TextChange.cs
- ClientRuntimeConfig.cs
- ScrollPatternIdentifiers.cs
- ProcessHostServerConfig.cs
- CompleteWizardStep.cs
- HtmlProps.cs
- SafeReadContext.cs
- ColorBlend.cs
- AsyncCodeActivity.cs
- MultiSelectRootGridEntry.cs
- DeploymentSectionCache.cs
- XmlAttributes.cs
- HttpContextServiceHost.cs
- MatrixAnimationUsingPath.cs
- XsdCachingReader.cs
- WebPageTraceListener.cs
- WsiProfilesElement.cs
- IdentityModelDictionary.cs
- _KerberosClient.cs
- TemplatedControlDesigner.cs
- XmlPropertyBag.cs
- StreamHelper.cs
- OdbcDataReader.cs
- EventSourceCreationData.cs
- ControlAdapter.cs
- ToolStripMenuItem.cs
- SelectionProcessor.cs
- PointValueSerializer.cs
- DeobfuscatingStream.cs
- AQNBuilder.cs
- ConfigXmlSignificantWhitespace.cs
- FullTextState.cs
- Function.cs
- OleDbConnection.cs
- XmlNode.cs
- XmlSchemaSimpleContentExtension.cs
- PolyLineSegment.cs
- RemoteArgument.cs
- TraceUtility.cs
- StyleCollection.cs
- SecurityRuntime.cs