NetTcpSecurity.Transport Vlastnost

Definice

Získá typ požadavků na zabezpečení na úrovni zpráv pro koncový bod nakonfigurovaný NetTcpBindingpomocí .

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

Hodnota vlastnosti

TcpTransportSecurity

Označuje TcpTransportSecurity typ požadavků na zabezpečení na úrovni přenosu pro koncový bod.

Příklady

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

Poznámky

Zabezpečení používejte Transport pro integritu a důvěrnost zprávy SOAP a pro vzájemné ověřování. Pokud je u vazby vybraný tento režim zabezpečení, je zásobník kanálu nakonfigurovaný pomocí zabezpečeného přenosu a zprávy SOAP jsou zabezpečené pomocí zabezpečení přenosu, jako je HTTPS nebo SSL přes PROTOKOL TCP.

Platí pro