DataServiceOperationContext Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents the current operation being processed.

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

System.Object
  System.Data.Services.DataServiceOperationContext

public sealed class DataServiceOperationContext

NameDescription
System_CAPS_pubpropertyAbsoluteRequestUri

Get the request URI for the current operation.

System_CAPS_pubpropertyAbsoluteServiceUri

Gets the base service URI for the request.

System_CAPS_pubpropertyIsBatchRequest

Gets a value that indicates whether the current operation is part of a batch request.

System_CAPS_pubpropertyRequestHeaders

Gets the request headers for the current operation.

System_CAPS_pubpropertyRequestMethod

Gets the HTTP request method for the operation

System_CAPS_pubpropertyResponseHeaders

Gets the response headers for the current operation.

System_CAPS_pubpropertyResponseStatusCode

Gets or sets the status code of the response.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 3.5

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

Return to top
Show: