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
- ContentPosition.cs
- ReflectTypeDescriptionProvider.cs
- ListViewDesigner.cs
- CombinedGeometry.cs
- GeneralTransform.cs
- ClientSettingsProvider.cs
- MetadataArtifactLoaderCompositeFile.cs
- IssuanceTokenProviderState.cs
- ButtonPopupAdapter.cs
- ObjectViewFactory.cs
- RenderData.cs
- SymLanguageVendor.cs
- XmlSerializerNamespaces.cs
- RadioButtonPopupAdapter.cs
- ITreeGenerator.cs
- WebChannelFactory.cs
- SR.cs
- CodeGotoStatement.cs
- SettingsPropertyNotFoundException.cs
- XsltContext.cs
- RegistryKey.cs
- ReadWriteSpinLock.cs
- MarshalByRefObject.cs
- SpellCheck.cs
- Utils.cs
- NonVisualControlAttribute.cs
- PermissionSetTriple.cs
- DataSourceExpressionCollection.cs
- Calendar.cs
- EventLogPermissionEntryCollection.cs
- SqlTypeConverter.cs
- ItemsPanelTemplate.cs
- TextChange.cs
- EDesignUtil.cs
- ListenerConnectionModeReader.cs
- XmlSchemaComplexContent.cs
- CodeMethodReturnStatement.cs
- ProtocolViolationException.cs
- GAC.cs
- ComplexTypeEmitter.cs
- WebBrowserProgressChangedEventHandler.cs
- OAVariantLib.cs
- ContextStaticAttribute.cs
- ZipFileInfoCollection.cs
- TextBlockAutomationPeer.cs
- StringFunctions.cs
- FontStretchConverter.cs
- Cursor.cs
- XmlCharType.cs
- CodeFieldReferenceExpression.cs
- CodeComment.cs
- PageVisual.cs
- DataSourceProvider.cs
- SuppressMergeCheckAttribute.cs
- GeneralTransformCollection.cs
- TokenFactoryCredential.cs
- MimeMultiPart.cs
- ExtendedProtectionPolicy.cs
- WrappedIUnknown.cs
- UnsafeNativeMethods.cs
- DispatcherHookEventArgs.cs
- Misc.cs
- Authorization.cs
- NavigationWindowAutomationPeer.cs
- DeclaredTypeValidator.cs
- XPathExpr.cs
- SHA256CryptoServiceProvider.cs
- UnsafeNativeMethods.cs
- ColorTranslator.cs
- ParallelTimeline.cs
- CorrelationManager.cs
- SqlTransaction.cs
- ClientRequest.cs
- UrlMappingsSection.cs
- PropertyDescriptorGridEntry.cs
- FreezableCollection.cs
- ImageListUtils.cs
- SQLString.cs
- UriTemplateTableMatchCandidate.cs
- _NegotiateClient.cs
- WindowProviderWrapper.cs
- ToolStripRenderer.cs
- PropertyChangedEventManager.cs
- DetailsViewInsertedEventArgs.cs
- pingexception.cs
- CssTextWriter.cs
- HttpStreamMessage.cs
- MouseEvent.cs
- TextRunCacheImp.cs
- ProxyRpc.cs
- SchemaManager.cs
- ControlBuilder.cs
- EntityContainerEntitySetDefiningQuery.cs
- TableLayout.cs
- JavaScriptObjectDeserializer.cs
- RemotingService.cs
- LastQueryOperator.cs
- BulletedList.cs
- WebRequestModuleElement.cs
- MachineKeyConverter.cs