Freigeben über


IDataServiceHost.ResponseContentType-Eigenschaft

Ruft das Transportprotokoll der Antwort ab.

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

Syntax

'Declaration
Property ResponseContentType As String
    Get
    Set
'Usage
Dim instance As IDataServiceHost
Dim value As String

value = instance.ResponseContentType

instance.ResponseContentType = value
string ResponseContentType { get; set; }
property String^ ResponseContentType {
    String^ get ();
    void set (String^ value);
}
abstract ResponseContentType : string with get, set
function get ResponseContentType () : String
function set ResponseContentType (value : String)

Eigenschaftswert

Typ: System.String
Zeichenfolgenwert, der den Inhaltstyp enthält.

Beispiele

Weitere Informationen zu den Eigenschaften, die von IDataServiceHost unterstützt werden finden Sie unter Datenclient (WCF Data Services).

Siehe auch

Verweis

IDataServiceHost Schnittstelle

System.Data.Services-Namespace