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
- MessageSecurityOverMsmq.cs
- UriSectionReader.cs
- _ListenerRequestStream.cs
- FixedSOMPageConstructor.cs
- WebHttpBehavior.cs
- FontWeights.cs
- XPathItem.cs
- MsmqTransportSecurityElement.cs
- documentsequencetextcontainer.cs
- SAPICategories.cs
- TreeNodeConverter.cs
- PrintingPermissionAttribute.cs
- SafeProcessHandle.cs
- SelectorAutomationPeer.cs
- SelectionProviderWrapper.cs
- ActivityExecutorDelegateInfo.cs
- Image.cs
- Currency.cs
- BaseDataBoundControl.cs
- TextClipboardData.cs
- DataMemberConverter.cs
- XmlRawWriter.cs
- ToolboxItemWrapper.cs
- WebPartVerbCollection.cs
- ConvertBinder.cs
- FontFaceLayoutInfo.cs
- ProcessThreadDesigner.cs
- UnicodeEncoding.cs
- FormView.cs
- WebEvents.cs
- AvTraceDetails.cs
- SystemResources.cs
- HierarchicalDataSourceControl.cs
- BoolLiteral.cs
- SmtpMail.cs
- XsdCachingReader.cs
- AtomMaterializerLog.cs
- MimeTypePropertyAttribute.cs
- TextTreeNode.cs
- WindowsBrush.cs
- TraceListener.cs
- XmlCharCheckingReader.cs
- AllMembershipCondition.cs
- RtfToXamlLexer.cs
- RewritingPass.cs
- PropertyPathConverter.cs
- DelegateHelpers.cs
- AuthenticateEventArgs.cs
- BaseAppDomainProtocolHandler.cs
- InvalidateEvent.cs
- ICspAsymmetricAlgorithm.cs
- RecipientInfo.cs
- TakeQueryOptionExpression.cs
- MetabaseServerConfig.cs
- PieceDirectory.cs
- WeakHashtable.cs
- RunWorkerCompletedEventArgs.cs
- DataRowChangeEvent.cs
- StreamReader.cs
- CompositeControl.cs
- PolicyLevel.cs
- TextElementCollection.cs
- Accessible.cs
- GeneralTransformGroup.cs
- DesignerListAdapter.cs
- UIElementAutomationPeer.cs
- LicenseManager.cs
- DiscreteKeyFrames.cs
- QilTypeChecker.cs
- Overlapped.cs
- AssemblyNameUtility.cs
- COM2IProvidePropertyBuilderHandler.cs
- TextTreeUndo.cs
- _CacheStreams.cs
- ControlHelper.cs
- DocumentXPathNavigator.cs
- LogExtent.cs
- CompositeCollectionView.cs
- TcpServerChannel.cs
- RelationshipSet.cs
- BitmapEffectGeneralTransform.cs
- AnnotationComponentManager.cs
- ConfigXmlAttribute.cs
- BitmapFrameDecode.cs
- WindowsListViewSubItem.cs
- AsyncOperation.cs
- NameScope.cs
- SafeTokenHandle.cs
- HwndKeyboardInputProvider.cs
- DispatcherOperation.cs
- MissingMethodException.cs
- SocketConnection.cs
- TypeConverterAttribute.cs
- MediaSystem.cs
- RenderCapability.cs
- MemberRestriction.cs
- DataGridState.cs
- TabItem.cs
- GenericPrincipal.cs
- IDReferencePropertyAttribute.cs