語言

NetMsmqSecurity 類別

定義

此 NetMsmqSecurity 類別封裝了使用 NetMsmqBinding 綁定時可用的 MSMQ 安全特性。

public ref class NetMsmqSecurity sealed
public sealed class NetMsmqSecurity
type NetMsmqSecurity = class
Public NotInheritable Class NetMsmqSecurity
繼承
NetMsmqSecurity

範例

NetMsmqBinding binding = new NetMsmqBinding();
NetMsmqSecurity security = binding.Security;
Dim binding As New NetMsmqBinding()
Dim security = binding.Security

備註

此類物件是透過建立綁定實例 NetMsmqBinding 來建立的。 接著你可以用這個物件參考與綁定相關的 NetMsmqBinding 各種安全設定。

建構函式

名稱 Description
NetMsmqSecurity()

初始化 NetMsmqSecurity 類別的新執行個體。

屬性

名稱 Description
Message

取得或設定 MessageSecurityOverMsmq 與 NetMsmqBinding 綁定相關的 。

Mode

取得或設定 NetMsmqSecurityMode 與 NetMsmqBinding 綁定相關的 。

Transport

取得或設定 MsmqTransportSecurity 與 NetMsmqBinding 綁定相關的 。

方法

名稱 Description
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於