MsmqIntegrationMessageProperty 類別

定義

表示訊息的訊息佇列 (MSMQ) 整合屬性。

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

備註

MsmqIntegrationMessageProperty 類別會公開 (Expose) 所有的訊息佇列訊息屬性,而您可以在傳送訊息或讀取使用整合通道所收到的訊息時設定這些屬性。

MsmqMessage<T> 類別也允許您設定訊息佇列訊息屬性,而這也是建議的訊息佇列訊息屬性設定方式。

當您使用通道和訊息基礎結構來建立訊息,並透過整合通道傳送該訊息時,您可以使用 MsmqIntegrationMessageProperty 類別當做訊息的屬性,這樣整合通道就可以擷取這個訊息屬性並將訊息格式化為訊息佇列訊息,然後在網路上進行傳送。

建構函式

MsmqIntegrationMessageProperty()

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

欄位

Name

常數值 "MsmqIntegrationMessageProperty"。

屬性

AcknowledgeType

取得或設定要傳回到傳送應用程式的認可類型。

Acknowledgment

取得訊息佇列 (MSMQ) 產生的認可訊息。

AdministrationQueue

取得或設定會接收訊息佇列 (MSMQ) 產生之認可訊息的佇列。

AppSpecific

指定額外的應用程式特定資訊。

ArrivedTime

取得或設定訊息抵達目的端佇列的時間。

Authenticated

取得或設定指出訊息是否已驗證的值。

Body

取得或設定訊息的內容。

BodyType

取得或設定訊息本文包含的資料類型。

CorrelationId

取得或設定認可、報告和回應訊息用來參考原始訊息的訊息識別項。

DestinationQueue

取得或設定訊息要使用的目的端佇列。

Extension

取得或設定與訊息關聯的其他應用程式定義資訊。

Id

取得訊息的識別項。

Label

取得或設定應用程式定義的 Unicode 字串,這個字串會描述訊息。

MessageType

取得訊息類型:NormalAcknowledgmentReport

Priority

取得或設定訊息的優先權,用來決定訊息放置在佇列中的位置。

ResponseQueue

取得或設定接收應用程式產生的回應訊息的佇列。

SenderId

取得傳送使用者的識別項。

SentTime

取得來源佇列管理員傳送訊息時傳送電腦上的日期和時間。

TimeToReachQueue

取得或設定訊息抵達佇列的最大時間量。

方法

Equals(Object)

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

(繼承來源 Object)
Get(Message)

取得指定訊息的 MsmqIntegrationMessageProperty

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於