Route.OnRouteMatched(RouteContext) 方法

定义

每当发生路由时,异步执行。

protected:
 override System::Threading::Tasks::Task ^ OnRouteMatched(Microsoft::AspNetCore::Routing::RouteContext ^ context);
protected override System.Threading.Tasks.Task OnRouteMatched (Microsoft.AspNetCore.Routing.RouteContext context);
override this.OnRouteMatched : Microsoft.AspNetCore.Routing.RouteContext -> System.Threading.Tasks.Task
Protected Overrides Function OnRouteMatched (context As RouteContext) As Task

参数

context
RouteContext

一个 RouteContext 实例。

返回

适用于