NetTcpSecurity.Transport プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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 などのトランスポート セキュリティを使用してセキュリティで保護されます。