DiscoveryProxy.OnBeginOfflineAnnouncement 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
覆寫此方法以處理離線公告訊息。
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
參數
- messageSequence
- DiscoveryMessageSequence
探索訊息序列。
- endpointDiscoveryMetadata
- EndpointDiscoveryMetadata
端點探索中繼資料。
- callback
- AsyncCallback
作業完成時要呼叫的回呼委派。
- state
- Object
使用者定義的狀態資料。
傳回
暫止的非同步作業參考。