AnnouncementClient.AnnounceOnlineTaskAsync(EndpointDiscoveryMetadata) 方法

定义

使联机任务公告 (Hello) 消息和指定的终结点发现元数据一起异步发送。

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

参数

discoveryMetadata
EndpointDiscoveryMetadata

终结点发现元数据。

返回

Task

将被异步发送的联机任务公告消息。

适用于