Bagikan melalui


IDataServiceHost.RequestContentType Properti

Definisi

Mendapatkan protokol transportasi yang ditentukan oleh header tipe isi.

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

Nilai Properti

Nilai string yang menunjukkan jenis konten.

Keterangan

Protokol yang saat ini didukung oleh Layanan Data WCF mencakup JSON dan AtomPub.

Berlaku untuk