共用方式為


AnnouncementClient.AnnounceOfflineTaskAsync(EndpointDiscoveryMetadata) 方法

定義

造成離線工作公告訊息 (Bye) 與指定的端點探索中繼資料以非同步方式一併傳送。

public:
 System::Threading::Tasks::Task ^ AnnounceOfflineTaskAsync(System::ServiceModel::Discovery::EndpointDiscoveryMetadata ^ discoveryMetadata);
public System.Threading.Tasks.Task AnnounceOfflineTaskAsync (System.ServiceModel.Discovery.EndpointDiscoveryMetadata discoveryMetadata);
member this.AnnounceOfflineTaskAsync : System.ServiceModel.Discovery.EndpointDiscoveryMetadata -> System.Threading.Tasks.Task
Public Function AnnounceOfflineTaskAsync (discoveryMetadata As EndpointDiscoveryMetadata) As Task

參數

discoveryMetadata
EndpointDiscoveryMetadata

端點探索中繼資料。

傳回

要以非同步方式傳送的離線工作公告訊息。

適用於