IDataServiceHost.RequestContentType Property

Gets the transport protocol specified by the content type header.

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

Syntax

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

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

Property Value

Type: System.String
String value that indicates content type.

Remarks

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

See Also

Reference

IDataServiceHost Interface

System.Data.Services Namespace