目的地是應用程式送出訊息所在,或是應用程式從中收到訊息的來源(或兩者)。
xms::PropertyContext | +----xms::Destination
有關 XMS 所定義的 Destination 物件內容清單, 請參閱Destination 內容。
建構子 | 說明 |
---|---|
Destination | 使用指定的目的地類型和名稱來建立目的地。 |
Destination | 使用指定的統一資源識別碼 (URI) 來建立目的地。 |
Destination(const xmsDESTINATION_TYPE destinationType, const String & destinationName);
如果目的地是一個佇列, 則這個建構子不會在傳訊伺服器中建立佇列。您必須先建立佇列,應用程式才能呼叫這個建構子。