Export (0) Print
Expand All

DataServiceOperationContext Class

Represents the current context for the operation being processed.

System.Object
  System.Data.Services.DataServiceOperationContext

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.

  NameDescription
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.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetQueryStringValueGets the value for the specified key in the request query string.
Public methodGetServiceReturns the service that provides custom operation.
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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