共用方式為


TreeRouter.RouteAsync(RouteContext) 方法

定義

根據目前的 context 以非同步方式路由傳送。

public:
 virtual System::Threading::Tasks::Task ^ RouteAsync(Microsoft::AspNetCore::Routing::RouteContext ^ context);
public System.Threading.Tasks.Task RouteAsync (Microsoft.AspNetCore.Routing.RouteContext context);
abstract member RouteAsync : Microsoft.AspNetCore.Routing.RouteContext -> System.Threading.Tasks.Task
override this.RouteAsync : Microsoft.AspNetCore.Routing.RouteContext -> System.Threading.Tasks.Task
Public Function RouteAsync (context As RouteContext) As Task

參數

context
RouteContext

RouteContext 執行個體。

傳回

實作

適用於