Share via


IDataServiceHost.RequestAccept Property

The transport protocol specified by the request accept header.

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
ReadOnly Property RequestAccept As String 
    Get
'Usage
Dim instance As IDataServiceHost 
Dim value As String 

value = instance.RequestAccept
string RequestAccept { get; }
property String^ RequestAccept {
    String^ get ();
}
abstract RequestAccept : string
function get RequestAccept () : String

Property Value

Type: System.String
String that indicates the transport protocol required by the request.

Remarks

Protocols currently supported by WCF Data Services include JSON and AtomPub.

See Also

Reference

IDataServiceHost Interface

System.Data.Services Namespace