共用方式為


RouteBase.OnRouteMatched(RouteContext) 方法

定義

每當路由發生時,都會以非同步方式執行。

protected:
 abstract System::Threading::Tasks::Task ^ OnRouteMatched(Microsoft::AspNetCore::Routing::RouteContext ^ context);
protected abstract System.Threading.Tasks.Task OnRouteMatched (Microsoft.AspNetCore.Routing.RouteContext context);
abstract member OnRouteMatched : Microsoft.AspNetCore.Routing.RouteContext -> System.Threading.Tasks.Task
Protected MustOverride Function OnRouteMatched (context As RouteContext) As Task

參數

context
RouteContext

RouteContext 執行個體。

傳回

適用於