NetTcpSecurity.Transport Propriedade

Definição

Obtém o tipo de requisitos de segurança ao nível da mensagem para um endpoint configurado com um 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

Valor de Propriedade

Isso TcpTransportSecurity indica o tipo de requisitos de segurança ao nível de transporte para um endpoint.

Exemplos

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

Observações

Use Transport a segurança para a integridade e confidencialidade da mensagem SOAP e para autenticação mútua. Se este modo de segurança for selecionado numa ligação, a pilha de canais é configurada usando um transporte seguro e as mensagens SOAP são protegidas usando segurança de transporte, como HTTPS ou SSL sobre TCP.

Aplica-se a