HttpTransportSecurity 类

定义

表示 WSHttpBinding 的传输级安全性设置。Represents the transport-level security settings for the WSHttpBinding.

public ref class HttpTransportSecurity sealed
public sealed class HttpTransportSecurity
type HttpTransportSecurity = class
Public NotInheritable Class HttpTransportSecurity
继承
HttpTransportSecurity

注解

此类由 Transport 用来为绑定设置传输级安全性设置。This class is used by Transport to set the transport-level security settings for a binding.

构造函数

HttpTransportSecurity()

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

属性

ClientCredentialType

获取或设置要用于身份验证的客户端凭据的类型。Gets or sets the type of client credential to be used for authentication.

ExtendedProtectionPolicy

获取或设置扩展保护策略。Gets or sets the extended protection policy.

ProxyCredentialType

获取或设置要用于针对代理进行身份验证的客户端凭据的类型。Gets or sets the type of client credential to be used for authentication against the proxy.

Realm

获取或设置摘要式或基本身份验证的身份验证领域。Gets or sets the authentication realm for digest or basic authentication.

方法

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)
ShouldSerializeClientCredentialType()

返回一个值,该值指示 ClientCredentialType 属性是否已更改,不再是默认值且应对其进行序列化。Returns a value that indicates whether the ClientCredentialType property has changed from its default value and should be serialized. .. WCF 使用此项进行 XAML 集成。Used by WCF for XAML integration.

ShouldSerializeExtendedProtectionPolicy()

返回一个值,该值指示 ExtendedProtectionPolicy 属性是否已更改,不再是默认值且应对其进行序列化。Returns a value that indicates whether the ExtendedProtectionPolicy property has changed from its default value and should be serialized. WCF 使用此项进行 XAML 集成。Used by WCF for XAML integration.

ShouldSerializeProxyCredentialType()

返回一个值,该值指示 ProxyCredentialType 属性是否已更改,不再是默认值且应对其进行序列化。Returns a value that indicates whether the ProxyCredentialType property has changed from its default value and should be serialized. WCF 使用此项进行 XAML 集成。Used by WCF for XAML integration.

ShouldSerializeRealm()

返回一个值,该值指示 Realm 属性是否已更改,不再是默认值且应对其进行序列化。Returns a value that indicates whether the Realm property has changed from its default value and should be serialized. .. WCF 使用此项进行 XAML 集成。Used by WCF for XAML integration.

ToString()

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

(继承自 Object)

适用于