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 セキュリティのどちらを有効にするかを指定し、有効な場合は、使用されている認証モードと保護レベルを指定します。