共用方式為


NetMsmqSecurity.Transport 屬性

定義

取得或設定與 MsmqTransportSecurity 繫結相關聯的 NetMsmqBinding

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

屬性值

MsmqTransportSecurity 繫結關聯的 NetMsmqBinding

範例

MsmqTransportSecurity trnsSecurity = security.Transport;
Dim trnsSecurity = security.Transport

備註

這個屬性會允許存取 MSMQ 傳輸安全性設定。

適用於