AnnouncementClient.AnnounceOfflineTaskAsync(EndpointDiscoveryMetadata) Method

Definition

Causes an offline task announcement message (Bye) to be sent asynchronously with the specified endpoint discovery metadata.

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

Parameters

discoveryMetadata
EndpointDiscoveryMetadata

The endpoint discovery metadata.

Returns

An offline task announcement message to be sent asynchronously.

Applies to