Επεξεργασία

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


DiscoveryProxy.OnBeginOnlineAnnouncement Method

Definition

Override this method to handle an online announcement message.

protected:
 abstract IAsyncResult ^ OnBeginOnlineAnnouncement(System::ServiceModel::Discovery::DiscoveryMessageSequence ^ messageSequence, System::ServiceModel::Discovery::EndpointDiscoveryMetadata ^ endpointDiscoveryMetadata, AsyncCallback ^ callback, System::Object ^ state);
protected abstract IAsyncResult OnBeginOnlineAnnouncement (System.ServiceModel.Discovery.DiscoveryMessageSequence messageSequence, System.ServiceModel.Discovery.EndpointDiscoveryMetadata endpointDiscoveryMetadata, AsyncCallback callback, object state);
abstract member OnBeginOnlineAnnouncement : System.ServiceModel.Discovery.DiscoveryMessageSequence * System.ServiceModel.Discovery.EndpointDiscoveryMetadata * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginOnlineAnnouncement (messageSequence As DiscoveryMessageSequence, endpointDiscoveryMetadata As EndpointDiscoveryMetadata, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

messageSequence
DiscoveryMessageSequence

The discovery message sequence.

endpointDiscoveryMetadata
EndpointDiscoveryMetadata

The endpoint discovery metadata.

callback
AsyncCallback

The callback delegate to call when the operation is completed.

state
Object

The user-defined state data.

Returns

A reference to the pending asynchronous operation.

Applies to