共用方式為


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

使用者定義的狀態資料。

傳回

暫止的非同步作業參考。

適用於