共用方式為


HttpMessageSettings.HttpMessagesSupported 屬性

定義

取得或設定值,指出 HTTP 傳輸是否應該支援 HttpRequestMessageHttpResponseMessage 執行個體。

public:
 property bool HttpMessagesSupported { bool get(); void set(bool value); };
public bool HttpMessagesSupported { get; set; }
member this.HttpMessagesSupported : bool with get, set
Public Property HttpMessagesSupported As Boolean

屬性值

Boolean

如果 HTTP 傳輸支援 HttpRequestMessageHttpResponseMessage 執行個體,則為 true,否則為 false

適用於