HttpMessageSettings 类

定义

可与 HTTP 传输协议一起使用的、用于指定 HttpMessage 支持的绑定参数。A binding parameter that can be used with the HTTP Transport to specify the setting for HttpMessage support.

public ref class HttpMessageSettings sealed : IEquatable<System::ServiceModel::Channels::HttpMessageSettings ^>
public sealed class HttpMessageSettings : IEquatable<System.ServiceModel.Channels.HttpMessageSettings>
type HttpMessageSettings = class
    interface IEquatable<HttpMessageSettings>
Public NotInheritable Class HttpMessageSettings
Implements IEquatable(Of HttpMessageSettings)
继承
HttpMessageSettings
实现

构造函数

HttpMessageSettings()

初始化 HttpMessageSettings 类的新实例。Initializes a new instance of the HttpMessageSettings class.

属性

HttpMessagesSupported

获取或设置指示 HTTP 传输是否应支持 HttpRequestMessageHttpResponseMessage 实例的值。Gets or sets a value indicating whether the HTTP transport should support HttpRequestMessage and HttpResponseMessage instances.

方法

Equals(HttpMessageSettings)

确定指定的对象是否等于当前对象。Determines whether the specified Object is equal to the current Object.

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于