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
- DataGridViewMethods.cs
- ChangeConflicts.cs
- TypeExtensionConverter.cs
- EventMappingSettingsCollection.cs
- DocumentPropertiesDialog.cs
- SafeRightsManagementHandle.cs
- xmlsaver.cs
- DataRelation.cs
- AssemblyAttributes.cs
- TagMapCollection.cs
- ComboBoxDesigner.cs
- AutomationElementCollection.cs
- SspiSecurityTokenParameters.cs
- XmlSchemaSimpleContent.cs
- AsyncCompletedEventArgs.cs
- ExternalDataExchangeService.cs
- EncodingTable.cs
- cache.cs
- HashHelpers.cs
- UpdateException.cs
- XamlStyleSerializer.cs
- StrokeRenderer.cs
- DecoderReplacementFallback.cs
- CharEnumerator.cs
- Enum.cs
- SecurityManager.cs
- WindowsProgressbar.cs
- PerformanceCounterManager.cs
- WebPartsPersonalizationAuthorization.cs
- ResXResourceSet.cs
- MembershipSection.cs
- FreezableDefaultValueFactory.cs
- DataSourceCacheDurationConverter.cs
- XmlUtf8RawTextWriter.cs
- TriState.cs
- ComIntegrationManifestGenerator.cs
- FeatureSupport.cs
- ReliabilityContractAttribute.cs
- SortedDictionary.cs
- WebBrowserNavigatingEventHandler.cs
- DataContractFormatAttribute.cs
- AffineTransform3D.cs
- HttpAsyncResult.cs
- GPPOINTF.cs
- BitmapCodecInfoInternal.cs
- CSharpCodeProvider.cs
- LogicalChannelCollection.cs
- GridProviderWrapper.cs
- CharEnumerator.cs
- EditorZone.cs
- WindowsTab.cs
- Cursor.cs
- AsymmetricAlgorithm.cs
- RegexWorker.cs
- XmlObjectSerializerWriteContext.cs
- METAHEADER.cs
- ErrorWebPart.cs
- PropertyGridEditorPart.cs
- TraceEventCache.cs
- ConfigurationPropertyAttribute.cs
- Attributes.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- ButtonFlatAdapter.cs
- CqlLexerHelpers.cs
- EmptyEnumerable.cs
- VoiceObjectToken.cs
- LinkClickEvent.cs
- FileRecordSequenceHelper.cs
- WebPartDisplayMode.cs
- TTSEvent.cs
- EmptyImpersonationContext.cs
- FixedElement.cs
- FragmentQuery.cs
- EntityDataSourceDesignerHelper.cs
- CatchBlock.cs
- AvtEvent.cs
- TypePresenter.xaml.cs
- AddInAttribute.cs
- RunWorkerCompletedEventArgs.cs
- ToolStripPanel.cs
- SamlAttribute.cs
- _PooledStream.cs
- Compilation.cs
- AppDomainFactory.cs
- SafeHandles.cs
- TextTreeTextNode.cs
- OrderedEnumerableRowCollection.cs
- TextLineResult.cs
- SmiContext.cs
- SqlDataSourceFilteringEventArgs.cs
- ConstNode.cs
- EntityCodeGenerator.cs
- SystemIPv6InterfaceProperties.cs
- ClientSponsor.cs
- DocumentGridContextMenu.cs
- CharacterShapingProperties.cs
- ThreadStateException.cs
- IssuanceLicense.cs
- SqlBooleanMismatchVisitor.cs
- RIPEMD160.cs