DiscoveryProxy.EndShouldRedirectFind Method

Definition

Override this method to handle the completion of sending the multicast suppression message for find requests.

protected:
 virtual bool EndShouldRedirectFind(IAsyncResult ^ result, [Runtime::InteropServices::Out] System::Collections::ObjectModel::Collection<System::ServiceModel::Discovery::EndpointDiscoveryMetadata ^> ^ % redirectionEndpoints);
protected virtual bool EndShouldRedirectFind (IAsyncResult result, out System.Collections.ObjectModel.Collection<System.ServiceModel.Discovery.EndpointDiscoveryMetadata> redirectionEndpoints);
abstract member EndShouldRedirectFind : IAsyncResult * Collection -> bool
override this.EndShouldRedirectFind : IAsyncResult * Collection -> bool
Protected Overridable Function EndShouldRedirectFind (result As IAsyncResult, ByRef redirectionEndpoints As Collection(Of EndpointDiscoveryMetadata)) As Boolean

Parameters

result
IAsyncResult

A reference to the completed asynchronous operation.

redirectionEndpoints
Collection<EndpointDiscoveryMetadata>

A collection of endpoint discovery metadata that describes the redirection endpoints.

Returns

true if the find operation should be redirected, otherwise false.

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