DiscoveryProxy.BeginShouldRedirectResolve 方法

定义

重写此方法以允许发现代理在接收多播解析请求时发出多播禁止消息。

protected:
 virtual IAsyncResult ^ BeginShouldRedirectResolve(System::ServiceModel::Discovery::ResolveCriteria ^ findCriteria, AsyncCallback ^ callback, System::Object ^ state);
protected virtual IAsyncResult BeginShouldRedirectResolve (System.ServiceModel.Discovery.ResolveCriteria findCriteria, AsyncCallback callback, object state);
abstract member BeginShouldRedirectResolve : System.ServiceModel.Discovery.ResolveCriteria * AsyncCallback * obj -> IAsyncResult
override this.BeginShouldRedirectResolve : System.ServiceModel.Discovery.ResolveCriteria * AsyncCallback * obj -> IAsyncResult
Protected Overridable Function BeginShouldRedirectResolve (findCriteria As ResolveCriteria, callback As AsyncCallback, state As Object) As IAsyncResult

参数

findCriteria
ResolveCriteria

用于描述要查找的服务的查找标准。

callback
AsyncCallback

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

state
Object

用户定义的状态数据。

返回

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

注解

当发现代理可用时,可以发送多播禁止消息来响应多播查找或解析消息。 向发现代理发送单播消息有助于减少由发现操作引起的网络流量。

适用于