Bagikan melalui


AnnouncementClient.AnnounceOfflineTaskAsync(EndpointDiscoveryMetadata) Metode

Definisi

Menyebabkan pesan pengumuman tugas offline (Bye) dikirim secara asinkron dengan metadata penemuan titik akhir yang ditentukan.

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

Parameter

discoveryMetadata
EndpointDiscoveryMetadata

Metadata penemuan titik akhir.

Mengembalikan

Pesan pengumuman tugas offline yang akan dikirim secara asinkron.

Berlaku untuk