AnnouncementClient.AnnounceOfflineAsync 方法

定义

使脱机公告消息 (Bye) 异步发送。

重载

AnnounceOfflineAsync(EndpointDiscoveryMetadata)

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

AnnounceOfflineAsync(EndpointDiscoveryMetadata, Object)

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

AnnounceOfflineAsync(EndpointDiscoveryMetadata)

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

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

参数

discoveryMetadata
EndpointDiscoveryMetadata

终结点发现元数据。

适用于

AnnounceOfflineAsync(EndpointDiscoveryMetadata, Object)

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

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

参数

discoveryMetadata
EndpointDiscoveryMetadata

终结点发现元数据。

userState
Object

用户定义的状态数据。

适用于