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
- CaseExpr.cs
- FileIOPermission.cs
- MergeEnumerator.cs
- SafeArrayRankMismatchException.cs
- SoapElementAttribute.cs
- StatusBarDesigner.cs
- PreProcessInputEventArgs.cs
- ExtensionFile.cs
- DataGridViewRowPostPaintEventArgs.cs
- RemotingConfiguration.cs
- NativeMethodsCLR.cs
- SchemaCollectionCompiler.cs
- ResourceDefaultValueAttribute.cs
- ScriptControlDescriptor.cs
- ChtmlTextBoxAdapter.cs
- ConstructorArgumentAttribute.cs
- BitArray.cs
- PrintEvent.cs
- RealProxy.cs
- MethodToken.cs
- Math.cs
- WebPartDescription.cs
- SweepDirectionValidation.cs
- GridViewDeletedEventArgs.cs
- ControlAdapter.cs
- EntityWrapperFactory.cs
- TreeNodeCollectionEditor.cs
- SymbolType.cs
- BaseHashHelper.cs
- DesignerRegionCollection.cs
- SystemWebCachingSectionGroup.cs
- Hyperlink.cs
- RequestCacheManager.cs
- _Events.cs
- SqlCacheDependency.cs
- DeferrableContent.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- TrackingMemoryStreamFactory.cs
- EdmType.cs
- SqlParameterCollection.cs
- StdValidatorsAndConverters.cs
- AutoResizedEvent.cs
- DocumentApplicationJournalEntryEventArgs.cs
- ElementHostPropertyMap.cs
- TextEncodedRawTextWriter.cs
- CssClassPropertyAttribute.cs
- StrokeDescriptor.cs
- DesignerActionService.cs
- ButtonFieldBase.cs
- StylusDownEventArgs.cs
- XmlFormatWriterGenerator.cs
- SystemPens.cs
- ConstraintStruct.cs
- PersistenceIOParticipant.cs
- ThousandthOfEmRealDoubles.cs
- DependencyObject.cs
- JsonReader.cs
- HtmlInputImage.cs
- EntityProxyTypeInfo.cs
- ViewUtilities.cs
- SamlAudienceRestrictionCondition.cs
- DataPagerFieldCommandEventArgs.cs
- SerializerWriterEventHandlers.cs
- TypeCacheManager.cs
- GridItemCollection.cs
- ListDependantCardsRequest.cs
- DesignerActionGlyph.cs
- NamedObject.cs
- WindowsSysHeader.cs
- Perspective.cs
- PnrpPeerResolver.cs
- Psha1DerivedKeyGenerator.cs
- ToolStripSplitButton.cs
- QueuePathEditor.cs
- DoubleConverter.cs
- ExternalFile.cs
- SqlDataSourceCommandEventArgs.cs
- RangeValidator.cs
- TimeStampChecker.cs
- StylusCollection.cs
- BufferModeSettings.cs
- InfocardExtendedInformationCollection.cs
- DataPagerFieldItem.cs
- ObjectListField.cs
- TraceListener.cs
- HtmlInputReset.cs
- FormViewModeEventArgs.cs
- StorageTypeMapping.cs
- HandlerMappingMemo.cs
- ConstraintManager.cs
- XamlToRtfWriter.cs
- SpellCheck.cs
- AsymmetricSignatureFormatter.cs
- DataGridViewToolTip.cs
- SQLSingleStorage.cs
- MissingMethodException.cs
- PermissionSet.cs
- UnmanagedHandle.cs
- XmlSchemaCompilationSettings.cs
- DataGridViewCellLinkedList.cs