Bewerken

Delen via


AnnouncementClient.BeginAnnounceOnline Method

Definition

Causes an online announcement (Hello) message to be sent asynchronously with the specified endpoint discovery metadata and user-defined state. The specified AsyncCallback is called when the operation completes.

public:
 IAsyncResult ^ BeginAnnounceOnline(System::ServiceModel::Discovery::EndpointDiscoveryMetadata ^ discoveryMetadata, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginAnnounceOnline (System.ServiceModel.Discovery.EndpointDiscoveryMetadata discoveryMetadata, AsyncCallback callback, object state);
member this.BeginAnnounceOnline : System.ServiceModel.Discovery.EndpointDiscoveryMetadata * AsyncCallback * obj -> IAsyncResult
Public Function BeginAnnounceOnline (discoveryMetadata As EndpointDiscoveryMetadata, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

discoveryMetadata
EndpointDiscoveryMetadata

The endpoint discovery metadata.

state
Object

The user-defined state data.

Returns

An IAsyncResult instance.

Applies to