MsmqIntegrationMessageProperty Class

Definition

表示訊息的訊息佇列 (MSMQ) 整合屬性。Represents the Message Queuing (MSMQ) integration properties for a message.

public ref class MsmqIntegrationMessageProperty sealed
public sealed class MsmqIntegrationMessageProperty
type MsmqIntegrationMessageProperty = class
Public NotInheritable Class MsmqIntegrationMessageProperty
Inheritance
MsmqIntegrationMessageProperty

Remarks

MsmqIntegrationMessageProperty 類別會公開 (Expose) 所有的訊息佇列訊息屬性,而您可以在傳送訊息或讀取使用整合通道所收到的訊息時設定這些屬性。The MsmqIntegrationMessageProperty class exposes all of the Message Queuing message properties that you can set when you send a message or read a message that has been received using the integration channel.

MsmqMessage<T> 類別也允許您設定訊息佇列訊息屬性,而這也是建議的訊息佇列訊息屬性設定方式。The MsmqMessage<T> class also enables you to set Message Queuing message properties, and is the recommended way to set Message Queuing message properties.

當您使用通道和訊息基礎結構來建立訊息,並透過整合通道傳送該訊息時,您可以使用 MsmqIntegrationMessageProperty 類別當做訊息的屬性,這樣整合通道就可以擷取這個訊息屬性並將訊息格式化為訊息佇列訊息,然後在網路上進行傳送。When you use the channels and messages infrastructure to create a message and send it over an integration channel, you can use the MsmqIntegrationMessageProperty class as a property of the message so that the integration channel can retrieve the message properties and format the message as a Message Queuing message and send it on the wire.

Constructors

MsmqIntegrationMessageProperty()

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

Fields

Name

常數值 "MsmqIntegrationMessageProperty"。The constant value "MsmqIntegrationMessageProperty".

Properties

AcknowledgeType

取得或設定要傳回到傳送應用程式的認可類型。Gets or sets the acknowledgment type to return to the sending application.

Acknowledgment

取得訊息佇列 (MSMQ) 產生的認可訊息。Gets the acknowledgment message that Message Queuing (MSMQ) generates.

AdministrationQueue

取得或設定會接收訊息佇列 (MSMQ) 產生之認可訊息的佇列。Gets or sets the queue that receives the acknowledgment messages that Message Queuing (MSMQ) generates.

AppSpecific

指定額外的應用程式特定資訊。Specifies additional application-specific information.

ArrivedTime

取得或設定訊息抵達目的端佇列的時間。Gets or sets the time that the message arrived in the destination queue.

Authenticated

取得或設定指出訊息是否已驗證的值。Gets or sets whether the message was authenticated.

Body

取得或設定訊息的內容。Gets or sets the content of the message.

BodyType

取得或設定訊息本文包含的資料類型。Gets or sets the type of data that the message body contains.

CorrelationId

取得或設定認可、報告和回應訊息用來參考原始訊息的訊息識別項。Gets or sets the message identifier used by acknowledgment, report, and response messages to reference the original message.

DestinationQueue

取得或設定訊息要使用的目的端佇列。Gets or sets the intended destination queue for the message.

Extension

取得或設定與訊息關聯的其他應用程式定義資訊。Gets or sets additional, application-defined information associated with the message.

Id

取得訊息的識別項。Gets the message's identifier.

Label

取得或設定應用程式定義的 Unicode 字串,這個字串會描述訊息。Gets or sets an application-defined Unicode string that describes the message.

MessageType

取得訊息類型:NormalAcknowledgmentReportGets the message type: Normal, Acknowledgment, or Report.

Priority

取得或設定訊息的優先權,用來決定訊息放置在佇列中的位置。Gets or sets the message priority, which determines where in the queue the message is placed.

ResponseQueue

取得或設定接收應用程式產生的回應訊息的佇列。Gets or sets the queue that receives application-generated response messages.

SenderId

取得傳送使用者的識別項。Gets the identifier of the sending user.

SentTime

取得來源佇列管理員傳送訊息時傳送電腦上的日期和時間。Gets the date and time on the sending computer that the message was sent by the source queue manager.

TimeToReachQueue

取得或設定訊息抵達佇列的最大時間量。Gets or sets the maximum amount of time for the message to reach the queue.

Methods

Equals(Object)

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

(Inherited from Object)
Get(Message)

取得指定訊息的 MsmqIntegrationMessagePropertyGets the MsmqIntegrationMessageProperty for a given message.

GetHashCode()

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

(Inherited from Object)
GetType()

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

(Inherited from Object)
MemberwiseClone()

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

(Inherited from Object)
ToString()

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

(Inherited from Object)

Applies to