語言

MsmqIntegrationMessageProperty.Label 屬性

定義

取得或設定一個由應用程式定義的 Unicode 字串來描述訊息。

public:
 property System::String ^ Label { System::String ^ get(); void set(System::String ^ value); };
public string Label { get; set; }
member this.Label : string with get, set
Public Property Label As String

屬性值

一個由應用程式定義的 Unicode 字串,用來描述訊息。

備註

你可以用訊息標籤來做多種用途。 例如,你可以用它來顯示或根據標籤值選擇性處理訊息。 不必讓標籤在不同訊息間獨一無二。

訊息佇列與訊息標籤代表應用程式定義的值,有助於以人類易讀的方式識別佇列或訊息。 應用程式有責任解讀標籤內容,而這些內容對訊息佇列本身並無內在意義。

適用於