語言

IDataServiceHost.RequestAccept 屬性

定義

由請求接受標頭所指定的傳輸協定。

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

屬性值

字串表示請求所需的傳輸協定。

備註

WCF Data Services 目前支援的協定包括 JSON 和 AtomPub。

適用於