DiscoveryProxy.OnBeginOnlineAnnouncement 方法

定义

重写此方法以处理联机公告消息。

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

参数

messageSequence
DiscoveryMessageSequence

发现消息序列。

endpointDiscoveryMetadata
EndpointDiscoveryMetadata

终结点发现元数据。

callback
AsyncCallback

完成操作时要调用的回调委托。

state
Object

用户定义的状态数据。

返回

对挂起的异步操作的引用。

适用于