MessageSecurityOverMsmq 類別

定義

可在 NetMsmqBinding 繫結上設定訊息層級的安全性屬性。Enables setting message-level security properties on the NetMsmqBinding binding.

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

範例

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

備註

您可以透過 Security 屬性 (此屬性傳回 NetMsmqSecurity 物件),從繫結中存取這個物件。This object is accessed from the binding by means of the Security property, which returns a NetMsmqSecurity object. 此物件有一個 Message 屬性,此屬性提供一個 MessageSecurityOverMsmq 物件的參考。This object has a Message property that provides a reference to the MessageSecurityOverMsmq object.

建構函式

MessageSecurityOverMsmq()

初始化 MessageSecurityOverMsmq 類別的新執行個體。Initializes a new instance of the MessageSecurityOverMsmq class.

屬性

AlgorithmSuite

指定用於 SOAP 層級之安全性訊息的演算法套件。Specifies the algorithm suite used for security messages at the SOAP level.

ClientCredentialType

取得或設定透過 MSMQ 傳輸傳送之訊息的 MessageCredentialType 安全性設定。Gets or sets the MessageCredentialType security setting for messages sent over the MSMQ transport.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於