Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IDataServiceHost2 Interface

Extends IDataServiceHost to include extra request and response headers.

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)
public interface IDataServiceHost2 : IDataServiceHost

The IDataServiceHost2 type exposes the following members.

  NameDescription
Public propertyAbsoluteRequestUriGets an absolute URI that is the URI as sent by the client. (Inherited from IDataServiceHost.)
Public propertyAbsoluteServiceUriGets an absolute URI that is the root URI of the data service. (Inherited from IDataServiceHost.)
Public propertyRequestAcceptThe transport protocol specified by the request accept header. (Inherited from IDataServiceHost.)
Public propertyRequestAcceptCharSetGets a string representing the value of the Accept-Charset HTTP header. (Inherited from IDataServiceHost.)
Public propertyRequestContentTypeGets the transport protocol specified by the content type header. (Inherited from IDataServiceHost.)
Public propertyRequestHeadersRequest header for an HTTP request.
Public propertyRequestHttpMethodGets the request method of GET, PUT, POST, or DELETE. (Inherited from IDataServiceHost.)
Public propertyRequestIfMatchGets the value for the If-Match header on the current request. (Inherited from IDataServiceHost.)
Public propertyRequestIfNoneMatchGets the value for the If-None-Match header on the current request. (Inherited from IDataServiceHost.)
Public propertyRequestMaxVersionGets the value that identifies the highest version that the request client is able to process. (Inherited from IDataServiceHost.)
Public propertyRequestStreamGets the stream that contains the HTTP request body. (Inherited from IDataServiceHost.)
Public propertyRequestVersionGets the value that identifies the version of the request that the client submitted, possibly null. (Inherited from IDataServiceHost.)
Public propertyResponseCacheControlGets a string value that represents cache control information. (Inherited from IDataServiceHost.)
Public propertyResponseContentTypeGets the transport protocol of the response. (Inherited from IDataServiceHost.)
Public propertyResponseETagGets an eTag value that represents the state of data in response. (Inherited from IDataServiceHost.)
Public propertyResponseHeadersResponse header for an HTTP response.
Public propertyResponseLocationGets or sets the service location. (Inherited from IDataServiceHost.)
Public propertyResponseStatusCodeGets or sets the response code that indicates results of query. (Inherited from IDataServiceHost.)
Public propertyResponseStreamGets the response stream to which the HTTP response body will be written. (Inherited from IDataServiceHost.)
Public propertyResponseVersionGets the version used by the host in the response. (Inherited from IDataServiceHost.)
Top
  NameDescription
Public methodGetQueryStringItemGets a data item identified by the identity key contained by the parameter of the method. (Inherited from IDataServiceHost.)
Public methodProcessExceptionHandles a data service exception using information in the args parameter. (Inherited from IDataServiceHost.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.