Share via


DefaultPropertiesToSend.AppSpecific 屬性

定義

取得或設定額外的應用程式特定資訊。

public:
 property int AppSpecific { int get(); void set(int value); };
[System.Messaging.MessagingDescription("MsgAppSpecific")]
public int AppSpecific { get; set; }
[<System.Messaging.MessagingDescription("MsgAppSpecific")>]
member this.AppSpecific : int with get, set
Public Property AppSpecific As Integer

屬性值

應用程式的特定資訊。 預設值是 0。

屬性

備註

AppSpecific屬性包含其他的應用程式特定資訊,可用來組織不同類型的訊息,例如使用應用程式特定的索引。 應用程式必須負責解譯 AppSpecific 資訊。

可能的話,訊息數據應該包含在訊息本文中,而不是包含在屬性中 AppSpecific

使用外部佇列時,請使用 Extension 屬性來指定非消息佇列訊息屬性。 AppSpecific如同,應用程式必須負責瞭解 屬性的內容Extension

適用於

另請參閱