共用方式為


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

適用於