Share via


IDataServiceHost.RequestContentType Vlastnost

Definice

Získá transportní protokol určený hlavičkou typu obsahu.

public:
 property System::String ^ RequestContentType { System::String ^ get(); };
public string RequestContentType { get; }
member this.RequestContentType : string
Public ReadOnly Property RequestContentType As String

Hodnota vlastnosti

Řetězcová hodnota, která označuje typ obsahu.

Poznámky

Mezi protokoly, které WCF Data Services aktuálně podporují, patří JSON a AtomPub.

Platí pro