NetNamedPipeSecurity.Transport 属性
定义
获取命名管道绑定的传输安全性。Gets the transport security for the named pipe binding.
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 值。The value of the NamedPipeTransportSecurity for the named pipe binding.
示例
下面的代码演示如何访问 Transport 属性:The following code shows how to access the Transport property:
NamedPipeTransportSecurity npts = nnpSecurity.Transport;
注解
此方法通过 ProtectionLevel 提供对命名管道传输的 ProtectionLevel 的访问。This method gives access to the ProtectionLevel for the named pipe transport through ProtectionLevel.