Edit

Share via


DiscoveryProxy.OnBeginOfflineAnnouncement Method

Definition

Override this method to handle an offline announcement message.

protected:
 abstract IAsyncResult ^ OnBeginOfflineAnnouncement(System::ServiceModel::Discovery::DiscoveryMessageSequence ^ messageSequence, System::ServiceModel::Discovery::EndpointDiscoveryMetadata ^ endpointDiscoveryMetadata, AsyncCallback ^ callback, System::Object ^ state);
protected abstract IAsyncResult OnBeginOfflineAnnouncement (System.ServiceModel.Discovery.DiscoveryMessageSequence messageSequence, System.ServiceModel.Discovery.EndpointDiscoveryMetadata endpointDiscoveryMetadata, AsyncCallback callback, object state);
abstract member OnBeginOfflineAnnouncement : System.ServiceModel.Discovery.DiscoveryMessageSequence * System.ServiceModel.Discovery.EndpointDiscoveryMetadata * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginOfflineAnnouncement (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