次の方法で共有


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);

注釈

SOAP メッセージの整合性と機密性、および相互認証には、 Transport セキュリティを使用します。 バインディングでこのセキュリティ モードが選択されている場合、チャネル スタックはセキュリティで保護されたトランスポートを使用して構成され、SOAP メッセージは HTTPS や SSL over TCP などのトランスポート セキュリティを使用してセキュリティで保護されます。

適用対象