Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataWeb / Server / System / Data / Services / ProcessRequestArgs.cs / 1 / 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. internal ProcessRequestArgs(Uri requestUri, bool isBatchOperation) { System.Diagnostics.Debug.Assert(requestUri != null, "requestUri != null"); this.requestUri = requestUri; this.isBatchOperation = isBatchOperation; } #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; } } #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. internal ProcessRequestArgs(Uri requestUri, bool isBatchOperation) { System.Diagnostics.Debug.Assert(requestUri != null, "requestUri != null"); this.requestUri = requestUri; this.isBatchOperation = isBatchOperation; } #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; } } #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
- StylusPointPropertyInfoDefaults.cs
- MessageSecurityOverHttpElement.cs
- HostedTransportConfigurationBase.cs
- serverconfig.cs
- CompositionTarget.cs
- WebFormDesignerActionService.cs
- GridViewUpdatedEventArgs.cs
- TypeSystemHelpers.cs
- DSASignatureDeformatter.cs
- Vector3D.cs
- _NestedMultipleAsyncResult.cs
- ZipFileInfo.cs
- ProxyGenerator.cs
- Size3D.cs
- EventLogger.cs
- TypeUtils.cs
- RequestCacheManager.cs
- Touch.cs
- AssemblyName.cs
- AutomationPropertyInfo.cs
- OdbcHandle.cs
- SequentialOutput.cs
- XamlWriter.cs
- EntityDataSourceQueryBuilder.cs
- EntityViewGenerationAttribute.cs
- GridViewColumn.cs
- Int64KeyFrameCollection.cs
- DataGridViewComboBoxCell.cs
- WebPartVerbsEventArgs.cs
- EnterpriseServicesHelper.cs
- __Error.cs
- CompilationUnit.cs
- OleDbRowUpdatingEvent.cs
- ConfigXmlSignificantWhitespace.cs
- DictionaryBase.cs
- DataGridRowsPresenter.cs
- ImageListImageEditor.cs
- DesigntimeLicenseContextSerializer.cs
- MetadataHelper.cs
- Object.cs
- ComboBoxRenderer.cs
- XmlSerializer.cs
- _LocalDataStore.cs
- HttpInputStream.cs
- ProgressBar.cs
- NotifyParentPropertyAttribute.cs
- ParserStreamGeometryContext.cs
- Mutex.cs
- GroupBoxAutomationPeer.cs
- DrawingContextDrawingContextWalker.cs
- HtmlControl.cs
- mediaclock.cs
- HashJoinQueryOperatorEnumerator.cs
- SymDocumentType.cs
- UInt16.cs
- CustomErrorsSection.cs
- UpdateManifestForBrowserApplication.cs
- InvalidComObjectException.cs
- SettingsPropertyNotFoundException.cs
- StrokeIntersection.cs
- EntityDataSourceUtil.cs
- SingleStorage.cs
- ServiceRouteHandler.cs
- ProcessManager.cs
- GroupBox.cs
- DesignerOptionService.cs
- CultureTableRecord.cs
- PixelShader.cs
- RawStylusInputCustomData.cs
- SoundPlayerAction.cs
- WebBrowserPermission.cs
- AttributeEmitter.cs
- DataGridCaption.cs
- CharUnicodeInfo.cs
- IdnElement.cs
- XmlWhitespace.cs
- Rights.cs
- propertytag.cs
- RegistryPermission.cs
- SafePointer.cs
- TextFormatter.cs
- Types.cs
- PermissionSetEnumerator.cs
- CompositeFontInfo.cs
- WSFederationHttpSecurity.cs
- ElasticEase.cs
- Int64Storage.cs
- FactoryMaker.cs
- InputChannelBinder.cs
- CodeAttributeDeclaration.cs
- HasCopySemanticsAttribute.cs
- DrawingCollection.cs
- StateMachineWorkflowInstance.cs
- TrimSurroundingWhitespaceAttribute.cs
- SqlRowUpdatingEvent.cs
- SoapIncludeAttribute.cs
- StreamMarshaler.cs
- Parser.cs
- ObjectDataSource.cs
- PtsHost.cs