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

适用于