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.
Defines extensions to IDataServiceHost needed for request and response headers in HTTP.
Namespace: System.Data.Services
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Interface IDataServiceHost2 _
Inherits IDataServiceHost
'Usage
Dim instance As IDataServiceHost2
public interface IDataServiceHost2 : IDataServiceHost
public interface class IDataServiceHost2 : IDataServiceHost
type IDataServiceHost2 =
interface
interface IDataServiceHost
end
public interface IDataServiceHost2 extends IDataServiceHost
The IDataServiceHost2 type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
AbsoluteRequestUri | Gets an absolute URI that is the URI as sent by the client. (Inherited from IDataServiceHost.) |
![]() |
AbsoluteServiceUri | Gets an absolute URI that is the root URI of the data service. (Inherited from IDataServiceHost.) |
![]() |
RequestAccept | The transport protocol specified by the request accept header. (Inherited from IDataServiceHost.) |
![]() |
RequestAcceptCharSet | Gets a string representing the value of the Accept-Charset HTTP header. (Inherited from IDataServiceHost.) |
![]() |
RequestContentType | Gets the transport protocol specified by the content type header. (Inherited from IDataServiceHost.) |
![]() |
RequestHeaders | Request header for an HTTP request. |
![]() |
RequestHttpMethod | Gets the request method of GET, PUT, POST, or DELETE. (Inherited from IDataServiceHost.) |
![]() |
RequestIfMatch | Gets the value for the If-Match header on the current request. (Inherited from IDataServiceHost.) |
![]() |
RequestIfNoneMatch | Gets the value for the If-None-Match header on the current request. (Inherited from IDataServiceHost.) |
![]() |
RequestMaxVersion | Gets the value that identifies the highest version that the request client is able to process. (Inherited from IDataServiceHost.) |
![]() |
RequestStream | Gets the stream that contains the HTTP request body. (Inherited from IDataServiceHost.) |
![]() |
RequestVersion | Gets the value that identifies the version of the request that the client submitted, possibly null. (Inherited from IDataServiceHost.) |
![]() |
ResponseCacheControl | Gets a string value that represents cache control information. (Inherited from IDataServiceHost.) |
![]() |
ResponseContentType | Gets the transport protocol of the response. (Inherited from IDataServiceHost.) |
![]() |
ResponseETag | Gets an eTag value that represents the state of data in response. (Inherited from IDataServiceHost.) |
![]() |
ResponseHeaders | Response header for an HTTP response. |
![]() |
ResponseLocation | Gets or sets the service location. (Inherited from IDataServiceHost.) |
![]() |
ResponseStatusCode | Gets or sets the response code that indicates results of query. (Inherited from IDataServiceHost.) |
![]() |
ResponseStream | Gets the response stream to which the HTTP response body will be written. (Inherited from IDataServiceHost.) |
![]() |
ResponseVersion | Gets the version used by the host in the response. (Inherited from IDataServiceHost.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
GetQueryStringItem | Gets a data item identified by the identity key contained by the parameter of the method. (Inherited from IDataServiceHost.) |
![]() |
ProcessException | Handles a data service exception using information in the args parameter. (Inherited from IDataServiceHost.) |
Top