AnnouncementClient.AnnounceOnlineAsync 方法

定义

使联机公告消息 (Hello) 异步发送。

重载

AnnounceOnlineAsync(EndpointDiscoveryMetadata, Object)

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

AnnounceOnlineAsync(EndpointDiscoveryMetadata)

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

AnnounceOnlineAsync(EndpointDiscoveryMetadata, Object)

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

public:
 void AnnounceOnlineAsync(System::ServiceModel::Discovery::EndpointDiscoveryMetadata ^ discoveryMetadata, System::Object ^ userState);
public void AnnounceOnlineAsync (System.ServiceModel.Discovery.EndpointDiscoveryMetadata discoveryMetadata, object userState);
member this.AnnounceOnlineAsync : System.ServiceModel.Discovery.EndpointDiscoveryMetadata * obj -> unit
Public Sub AnnounceOnlineAsync (discoveryMetadata As EndpointDiscoveryMetadata, userState As Object)

参数

discoveryMetadata
EndpointDiscoveryMetadata

终结点发现元数据。

userState
Object

用户定义的状态数据。

适用于

AnnounceOnlineAsync(EndpointDiscoveryMetadata)

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

public:
 void AnnounceOnlineAsync(System::ServiceModel::Discovery::EndpointDiscoveryMetadata ^ discoveryMetadata);
public void AnnounceOnlineAsync (System.ServiceModel.Discovery.EndpointDiscoveryMetadata discoveryMetadata);
member this.AnnounceOnlineAsync : System.ServiceModel.Discovery.EndpointDiscoveryMetadata -> unit
Public Sub AnnounceOnlineAsync (discoveryMetadata As EndpointDiscoveryMetadata)

参数

discoveryMetadata
EndpointDiscoveryMetadata

终结点发现元数据。

适用于