共用方式為


DiscoveryProxy.EndShouldRedirectResolve 方法

定義

覆寫此方法以處理完成傳送多點傳送隱藏訊息,進而滿足解析的要求。

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

參數

result
IAsyncResult

已完成之非同步作業的參考。

redirectionEndpoints
Collection<EndpointDiscoveryMetadata>

描述重新導向端點的端點探索中繼資料集合。

傳回

Boolean

如果應該重新導向解析作業,則為 true,否則為 false

備註

探索 Proxy 可用時,可傳送多點傳送隱藏訊息,來回應多點傳送尋找或解析訊息。 傳送多點傳送訊息到探索 Proxy,有助於降低由探索作業所引起的網路流量。

適用於