Sdílet prostřednictvím


Controller.OnActionExecuting(ActionExecutingContext) Metoda

Definice

Volá se před vyvolání metody action.

public:
 virtual void OnActionExecuting(Microsoft::AspNetCore::Mvc::Filters::ActionExecutingContext ^ context);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual void OnActionExecuting (Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext context);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member OnActionExecuting : Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext -> unit
override this.OnActionExecuting : Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext -> unit
Public Overridable Sub OnActionExecuting (context As ActionExecutingContext)

Parametry

context
ActionExecutingContext

Akce, která spouští kontext.

Implementuje

Atributy

Platí pro