Language

NetMsmqSecurityElement.Mode プロパティ

定義

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 - メッセージ ベースのセキュリティとトランスポート セキュリティの両方が使用されます。

適用対象