IDataServiceHost.RequestContentType Egenskap

Definition

Hämtar transportprotokollet som anges av innehållstypshuvudet.

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

Egenskapsvärde

Strängvärde som anger innehållstyp.

Kommentarer

Protokoll som för närvarande stöds av WCF Data Services inkluderar JSON och AtomPub.

Gäller för