Bagikan melalui


NetTcpSecurity.Transport Properti

Definisi

Mendapatkan jenis persyaratan keamanan tingkat pesan untuk titik akhir yang dikonfigurasi dengan NetTcpBinding.

public:
 property System::ServiceModel::TcpTransportSecurity ^ Transport { System::ServiceModel::TcpTransportSecurity ^ get(); void set(System::ServiceModel::TcpTransportSecurity ^ value); };
public:
 property System::ServiceModel::TcpTransportSecurity ^ Transport { System::ServiceModel::TcpTransportSecurity ^ get(); };
public System.ServiceModel.TcpTransportSecurity Transport { get; set; }
public System.ServiceModel.TcpTransportSecurity Transport { get; }
member this.Transport : System.ServiceModel.TcpTransportSecurity with get, set
member this.Transport : System.ServiceModel.TcpTransportSecurity
Public Property Transport As TcpTransportSecurity
Public ReadOnly Property Transport As TcpTransportSecurity

Nilai Properti

TcpTransportSecurity yang menunjukkan jenis persyaratan keamanan tingkat transportasi untuk titik akhir.

Contoh

TcpTransportSecurity tsTcp = security.Transport;
Console.WriteLine("\tTcpTransportSecurity:");
Console.WriteLine("\t\tClient Credential Type: {0}", tsTcp.ClientCredentialType);
Console.WriteLine("\t\tProtectionLevel: {0}", tsTcp.ProtectionLevel);

Keterangan

Gunakan Transport keamanan untuk integritas dan kerahasiaan pesan SOAP dan untuk autentikasi bersama. Jika mode keamanan ini dipilih pada pengikatan, tumpukan saluran dikonfigurasi menggunakan transportasi aman dan pesan SOAP diamankan menggunakan keamanan transportasi seperti HTTPS atau SSL melalui TCP.

Berlaku untuk