Share via


Route.OnRouteMatched(RouteContext) Method

Definition

Executes asynchronously whenever routing occurs.

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

Parameters

context
RouteContext

A RouteContext instance.

Returns

Applies to