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

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

适用于