IDataServiceHost.RequestAccept 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
由請求接受標頭所指定的傳輸協定。
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。