Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents the current operation being processed.
Inheritance Hierarchy
System.Object
System.Data.Services.DataServiceOperationContext
Namespace: System.Data.Services
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public NotInheritable Class DataServiceOperationContext _
Implements IServiceProvider
'Usage
Dim instance As DataServiceOperationContext
public sealed class DataServiceOperationContext : IServiceProvider
public ref class DataServiceOperationContext sealed : IServiceProvider
[<SealedAttribute>]
type DataServiceOperationContext =
class
interface IServiceProvider
end
public final class DataServiceOperationContext implements IServiceProvider
The DataServiceOperationContext type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
AbsoluteRequestUri | Get the request URI for the current operation. |
![]() |
AbsoluteServiceUri | Gets the base service URI for the request. |
![]() |
IsBatchRequest | Gets a value that indicates whether the current operation is part of a batch request. |
![]() |
RequestHeaders | Gets the request headers for the current operation. |
![]() |
RequestMethod | Gets the HTTP request method for the operation. |
![]() |
ResponseHeaders | Gets the response headers for the current operation. |
![]() |
ResponseStatusCode | Gets or sets the status code of the response. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetService | Returns the service that provides custom operation. |
![]() |
GetType | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.