DiscoveryProxy.EndShouldRedirectFind 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
覆寫此方法以處理完成發送多播抑制訊息以接收查找請求。
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>
一組描述重定向端點的端點發現元資料。
傳回
true 如果尋找操作應該被重新導向,否則 false。
備註
當發現代理可用時,群組訊號抑制訊息可回應群組播的尋找或解決訊息。 將單播訊息傳送給發現代理,有助於減少因發現操作所造成的網路流量。