Поделиться через


NetTcpSecurity.Transport Свойство

Определение

Возвращает тип требований к безопасности на уровне сообщений для конечной точки, настроенной с помощью 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

Значение свойства

Значение TcpTransportSecurity , указывающее тип требований к безопасности на уровне транспорта для конечной точки.

Примеры

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

Комментарии

Используйте Transport безопасность для целостности и конфиденциальности сообщения SOAP и взаимной проверки подлинности. Если этот режим безопасности выбран для привязки, стек каналов настраивается с помощью безопасного транспорта, а сообщения SOAP защищены с помощью безопасности транспорта, например HTTPS или SSL через TCP.

Применяется к