AnnouncementClient.AnnounceOfflineTaskAsync Method (EndpointDiscoveryMetadata)

.NET Framework (current version)
 

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

Namespace:   System.ServiceModel.Discovery
Assembly:  System.ServiceModel.Discovery (in System.ServiceModel.Discovery.dll)

public Task AnnounceOfflineTaskAsync(
	EndpointDiscoveryMetadata discoveryMetadata
)

Parameters

discoveryMetadata
Type: System.ServiceModel.Discovery.EndpointDiscoveryMetadata

The endpoint discovery metadata.

Return Value

Type: System.Threading.Tasks.Task

An offline task announcement message to be sent asynchronously.

.NET Framework
Available since 4.5
Return to top
Show: