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 字串,這個字串會描述訊息。

備註

訊息標籤可以用於多種用途。 例如,您可以將它用於顯示,或者根據標籤值對訊息進行選擇性的處理。 標籤在訊息間不需要是唯一的。

訊息佇列和訊息標籤表示應用程式定義的值,這個值會以人們可讀取 (Human-Readable) 的詞彙協助識別佇列或訊息。 應用程式必須負責解譯標籤內容,而這些內容對訊息佇列而言並不具有實質意義。

適用於