DataServiceOperationContext Class

Represents the current operation being processed.


Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

public sealed class DataServiceOperationContext : IServiceProvider

The DataServiceOperationContext type exposes the following members.

Public propertyAbsoluteRequestUriGet the request URI for the current operation.
Public propertyAbsoluteServiceUriGets the base service URI for the request.
Public propertyIsBatchRequestGets a value that indicates whether the current operation is part of a batch request.
Public propertyRequestHeadersGets the request headers for the current operation.
Public propertyRequestMethodGets the HTTP request method for the operation.
Public propertyResponseHeadersGets the response headers for the current operation.
Public propertyResponseStatusCodeGets or sets the status code of the response.

Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetServiceReturns the service that provides custom operation.
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.