This documentation is archived and is not being maintained.
IDataServiceHost2 Interface
Visual Studio 2010
Defines extensions to IDataServiceHost needed for request and response headers in HTTP.
Assembly: System.Data.Services (in System.Data.Services.dll)
The IDataServiceHost2 type exposes the following members.
| 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.) |
| 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.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
