NetNamedPipeSecurity.Transport 属性

定义

获取命名管道绑定的传输安全性。

public:
 property System::ServiceModel::NamedPipeTransportSecurity ^ Transport { System::ServiceModel::NamedPipeTransportSecurity ^ get(); };
public:
 property System::ServiceModel::NamedPipeTransportSecurity ^ Transport { System::ServiceModel::NamedPipeTransportSecurity ^ get(); void set(System::ServiceModel::NamedPipeTransportSecurity ^ value); };
public System.ServiceModel.NamedPipeTransportSecurity Transport { get; }
public System.ServiceModel.NamedPipeTransportSecurity Transport { get; set; }
member this.Transport : System.ServiceModel.NamedPipeTransportSecurity
member this.Transport : System.ServiceModel.NamedPipeTransportSecurity with get, set
Public ReadOnly Property Transport As NamedPipeTransportSecurity
Public Property Transport As NamedPipeTransportSecurity

属性值

NamedPipeTransportSecurity

命名管道绑定的 NamedPipeTransportSecurity 值。

示例

下面的代码演示如何访问 Transport 属性:

NamedPipeTransportSecurity npts = nnpSecurity.Transport;

注解

此方法通过 ProtectionLevel 提供对命名管道传输的 ProtectionLevel 的访问。

适用于