共用方式為


DiscoveryService.OnBeginResolve 方法

定義

覆寫此方法以處理解析作業。

protected:
 abstract IAsyncResult ^ OnBeginResolve(System::ServiceModel::Discovery::ResolveCriteria ^ resolveCriteria, AsyncCallback ^ callback, System::Object ^ state);
protected abstract IAsyncResult OnBeginResolve (System.ServiceModel.Discovery.ResolveCriteria resolveCriteria, AsyncCallback callback, object state);
abstract member OnBeginResolve : System.ServiceModel.Discovery.ResolveCriteria * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginResolve (resolveCriteria As ResolveCriteria, callback As AsyncCallback, state As Object) As IAsyncResult

參數

resolveCriteria
ResolveCriteria

描述要探索之服務的尋找要求內容。

callback
AsyncCallback

作業完成時要呼叫的回呼委派。

state
Object

使用者定義的狀態資料。

傳回

IAsyncResult

暫止的非同步作業參考。

適用於