NetMsmqBinding.Security 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定 NetMsmqSecurity 與此綁定相關的 。
public:
property System::ServiceModel::NetMsmqSecurity ^ Security { System::ServiceModel::NetMsmqSecurity ^ get(); };
public:
property System::ServiceModel::NetMsmqSecurity ^ Security { System::ServiceModel::NetMsmqSecurity ^ get(); void set(System::ServiceModel::NetMsmqSecurity ^ value); };
public System.ServiceModel.NetMsmqSecurity Security { get; }
public System.ServiceModel.NetMsmqSecurity Security { get; set; }
member this.Security : System.ServiceModel.NetMsmqSecurity
member this.Security : System.ServiceModel.NetMsmqSecurity with get, set
Public ReadOnly Property Security As NetMsmqSecurity
Public Property Security As NetMsmqSecurity
屬性值
NetMsmqSecurity這個綁定與此結合有關。
範例
以下程式碼說明如何取得該 NetMsmqSecurity 物件。
NetMsmqBinding binding = new NetMsmqBinding();
NetMsmqSecurity security = binding.Security;
備註
NetMsmqSecurity 是同時封裝訊息佇列(MSMQ)傳輸與 SOAP 安全性的系統。 它規定是否啟用傳輸或 SOAP 安全,以及啟用時所使用的認證模式與保護等級。