EndpointSelector 類別

定義

負責最終 Endpoint 選取決策的服務。 若要使用自訂 EndpointSelector 緩存 EndpointSelector 器,在相依性插入容器中實作作為單一。

public ref class EndpointSelector abstract
public abstract class EndpointSelector
type EndpointSelector = class
Public MustInherit Class EndpointSelector
繼承
EndpointSelector

建構函式

EndpointSelector()

負責最終 Endpoint 選取決策的服務。 若要使用自訂 EndpointSelector 緩存 EndpointSelector 器,在相依性插入容器中實作作為單一。

方法

SelectAsync(HttpContext, CandidateSet)

以非同步方式從 CandidateSet 選取 Endpoint

SelectAsync(HttpContext, EndpointSelectorContext, CandidateSet)

以非同步方式從 CandidateSet 選取 Endpoint

適用於