NetTcpSecurity.Transport Właściwość

Definicja

Pobiera typ wymagań dotyczących zabezpieczeń na poziomie komunikatów dla punktu końcowego skonfigurowanego przy użyciu elementu 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

Wartość właściwości

Element TcpTransportSecurity wskazujący typ wymagań dotyczących zabezpieczeń na poziomie transportu dla punktu końcowego.

Przykłady

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

Uwagi

Użyj Transport zabezpieczeń w celu zapewnienia integralności i poufności komunikatu PROTOKOŁU SOAP oraz uwierzytelniania wzajemnego. Jeśli ten tryb zabezpieczeń jest wybrany w powiązaniu, stos kanału jest skonfigurowany przy użyciu bezpiecznego transportu, a komunikaty SOAP są zabezpieczone przy użyciu zabezpieczeń transportu, takich jak HTTPS lub SSL za pośrednictwem protokołu TCP.

Dotyczy