TcpTransportSecurity 類別

定義

為 TCP 傳輸提供控制驗證參數及保護層級的屬性。

public ref class TcpTransportSecurity sealed
public sealed class TcpTransportSecurity
type TcpTransportSecurity = class
Public NotInheritable Class TcpTransportSecurity
繼承
TcpTransportSecurity

備註

Transport 會使用這個類別來為繫結設定傳輸層級的安全性設定。

建構函式

TcpTransportSecurity()

初始化 TcpTransportSecurity 類別的新執行個體。

屬性

ClientCredentialType

取得或設定用於驗證的用戶端認證類型。

ExtendedProtectionPolicy

取得或設定 TCP 傳輸的延伸保護原則。

ProtectionLevel

取得或設定 TCP 資料流的 ProtectionLevel

SslProtocols

指定使用用戶端認證類型 TcpClientCredentialType.Certificate 時所要交涉的 SSL/TLS 通訊協定清單。 此值可以是下列一或多個列舉成員的組合:Ssl3、Tls、Tls11、Tls12。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ShouldSerializeExtendedProtectionPolicy()

傳回值,這個值表示 ExtendedProtectionPolicy 屬性是否已變更為非預設值且應該序列化。 這項資訊會由 WCF 用於 XAML 整合。

ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於