Editare

Partajați prin


IDataServiceHost2 Interface

Definition

Defines extensions to IDataServiceHost needed for request and response headers in HTTP.

public interface class IDataServiceHost2 : System::Data::Services::IDataServiceHost
public interface IDataServiceHost2 : System.Data.Services.IDataServiceHost
type IDataServiceHost2 = interface
    interface IDataServiceHost
Public Interface IDataServiceHost2
Implements IDataServiceHost
Implements

Properties

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)

Methods

GetQueryStringItem(String)

Gets a data item identified by the identity key contained by the parameter of the method.

(Inherited from IDataServiceHost)
ProcessException(HandleExceptionArgs)

Handles a data service exception using information in the args parameter.

(Inherited from IDataServiceHost)

Applies to