Editar

Compartilhar via


DiscoveryProxy.BeginShouldRedirectResolve Method

Definition

Override this method to allow the discovery proxy to send out multicast suppression messages when it receives a multicast resolve request.

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

Parameters

findCriteria
ResolveCriteria

The find criteria that describes the service to find.

callback
AsyncCallback

The callback delegate to call when the operation is completed.

state
Object

The user-defined state data.

Returns

A reference to the pending asynchronous operation.

Remarks

Multicast suppression messages can be sent in response to a multicast find or resolve message when a discovery proxy is available. Sending unicast messages to the discovery proxy can help reduce the amount of network traffic caused by the discovery operations.

Applies to