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 实例。

返回

适用于