DiscoveryProxy.EndShouldRedirectFind Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om