NetNamedPipeSecurity.Transport 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得具名管道繫結的傳輸安全性。
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 值。
範例
下列程式碼示範如何存取 Transport 屬性:
NamedPipeTransportSecurity npts = nnpSecurity.Transport;
備註
此方法可透過 ProtectionLevel 存取具名管道傳輸的 ProtectionLevel。