共用方式為


DiscoveryProxy.EndShouldRedirectFind 方法

定義

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

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

參數

result
IAsyncResult

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

redirectionEndpoints
Collection<EndpointDiscoveryMetadata>

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

傳回

Boolean

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

備註

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

適用於