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 繫結有關的所有不同安全性設定。

建構函式

NetMsmqSecurity()

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

屬性

Message

取得或設定與 MessageSecurityOverMsmq 繫結相關聯的 NetMsmqBinding

Mode

取得或設定與 NetMsmqSecurityMode 繫結相關聯的 NetMsmqBinding

Transport

取得或設定與 MsmqTransportSecurity 繫結相關聯的 NetMsmqBinding

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於