Επεξεργασία

Κοινή χρήση μέσω


AnnouncementClient.AnnounceOnlineTaskAsync(EndpointDiscoveryMetadata) Method

Definition

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

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

Parameters

discoveryMetadata
EndpointDiscoveryMetadata

The endpoint discovery metadata.

Returns

An online task announcement message to be sent asynchronously.

Applies to