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
- UriTemplateTable.cs
- SecurityKeyUsage.cs
- DefaultTextStoreTextComposition.cs
- DataRowChangeEvent.cs
- BindingCollection.cs
- PermissionSet.cs
- CommonGetThemePartSize.cs
- RegistryPermission.cs
- CompilationLock.cs
- Cursor.cs
- EntityDataSourceDataSelection.cs
- SqlMethodCallConverter.cs
- SqlDependency.cs
- ListViewItem.cs
- DecimalConverter.cs
- CheckBoxField.cs
- QueryableDataSourceEditData.cs
- WebConfigurationHostFileChange.cs
- _SecureChannel.cs
- DesignerForm.cs
- SafeNativeMethods.cs
- SimpleExpression.cs
- __ConsoleStream.cs
- EntityStoreSchemaFilterEntry.cs
- CompareValidator.cs
- OracleMonthSpan.cs
- ContentElement.cs
- EntryIndex.cs
- AdjustableArrowCap.cs
- ObfuscationAttribute.cs
- AuthenticateEventArgs.cs
- MDIWindowDialog.cs
- Qualifier.cs
- CatalogPart.cs
- DictionaryEntry.cs
- MenuItem.cs
- CommandValueSerializer.cs
- ElasticEase.cs
- DocumentViewerAutomationPeer.cs
- BitmapMetadataBlob.cs
- InvalidContentTypeException.cs
- DataControlLinkButton.cs
- Msec.cs
- DbProviderManifest.cs
- SqlAliasesReferenced.cs
- IgnoreFlushAndCloseStream.cs
- Listener.cs
- Pointer.cs
- EntityViewGenerationAttribute.cs
- SynchronizedPool.cs
- TextElementCollection.cs
- QueryOutputWriter.cs
- CollectionViewSource.cs
- ObjectSecurityT.cs
- WindowsListView.cs
- ThumbAutomationPeer.cs
- DrawingAttributeSerializer.cs
- PageEventArgs.cs
- DataGridViewColumnStateChangedEventArgs.cs
- SmiEventStream.cs
- Item.cs
- PropertyChange.cs
- ConnectionInterfaceCollection.cs
- _NetworkingPerfCounters.cs
- VScrollProperties.cs
- ExpressionBindingCollection.cs
- MenuEventArgs.cs
- ProcessThreadDesigner.cs
- MappingSource.cs
- TemplateBindingExpressionConverter.cs
- TextRunCacheImp.cs
- AccessDataSourceView.cs
- MediaTimeline.cs
- Int16.cs
- Authorization.cs
- GestureRecognizer.cs
- ApplicationDirectory.cs
- WebServicesDescriptionAttribute.cs
- GridViewItemAutomationPeer.cs
- SoapReflectionImporter.cs
- FragmentNavigationEventArgs.cs
- RequestCachePolicy.cs
- documentsequencetextview.cs
- PolyBezierSegment.cs
- DecimalAnimationUsingKeyFrames.cs
- DataPagerFieldCommandEventArgs.cs
- Directory.cs
- FontConverter.cs
- UIntPtr.cs
- KeyGestureValueSerializer.cs
- PropertyValueChangedEvent.cs
- LinearGradientBrush.cs
- AppDomainFactory.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- IgnoreDataMemberAttribute.cs
- PLINQETWProvider.cs
- SqlDataSourceView.cs
- ControlDesigner.cs
- PropertyMapper.cs
- ValueTable.cs