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

取得或設定要用於驗證 Proxy 的用戶端認證類型。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)

適用於