ערוך

שתף באמצעות


DiscoveryProxy.EndShouldRedirectResolve Method

Definition

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

protected:
 virtual bool EndShouldRedirectResolve(IAsyncResult ^ result, [Runtime::InteropServices::Out] System::Collections::ObjectModel::Collection<System::ServiceModel::Discovery::EndpointDiscoveryMetadata ^> ^ % redirectionEndpoints);
protected virtual bool EndShouldRedirectResolve (IAsyncResult result, out System.Collections.ObjectModel.Collection<System.ServiceModel.Discovery.EndpointDiscoveryMetadata> redirectionEndpoints);
abstract member EndShouldRedirectResolve : IAsyncResult * Collection -> bool
override this.EndShouldRedirectResolve : IAsyncResult * Collection -> bool
Protected Overridable Function EndShouldRedirectResolve (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 resolve 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