NetMsmqSecurityElement.Mode 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定 NetMsmqSecurityMode 與 NetMsmqBinding 綁定相關的實例。
public:
property System::ServiceModel::NetMsmqSecurityMode Mode { System::ServiceModel::NetMsmqSecurityMode get(); void set(System::ServiceModel::NetMsmqSecurityMode value); };
[System.Configuration.ConfigurationProperty("mode", DefaultValue=System.ServiceModel.NetMsmqSecurityMode.Transport)]
public System.ServiceModel.NetMsmqSecurityMode Mode { get; set; }
[<System.Configuration.ConfigurationProperty("mode", DefaultValue=System.ServiceModel.NetMsmqSecurityMode.Transport)>]
member this.Mode : System.ServiceModel.NetMsmqSecurityMode with get, set
Public Property Mode As NetMsmqSecurityMode
屬性值
NetMsmqSecurityMode與綁定相關NetMsmqBinding聯的實例。
- 屬性
備註
此性質決定了所對應 NetMsmqBinding的證券類型。 以下列表描述了可接受的數值:
None- 不會使用任何保全。Transport- 將採用運輸安全措施。Message- 將採用訊息式安全。Both- 將同時使用訊息式安全與傳輸安全性。