Freigeben über


IDataServiceHost.RequestContentType-Eigenschaft

Ruft das vom Inhaltstyp-Header angegebene Transportprotokoll ab.

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

Eigenschaftswert

Typ: System.String
Zeichenfolgenwert, der Inhaltstyp angibt.

Hinweise

Von WCF Data Services werden derzeit u. a. JSON und AtomPub unterstützt.

Siehe auch

Verweis

IDataServiceHost Schnittstelle

System.Data.Services-Namespace