AnnouncementClient.AnnounceOfflineTaskAsync Method (EndpointDiscoveryMetadata)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: