Partilhar via


Controller.OnActionExecuting(ActionExecutingContext) Método

Definição

Chamado antes de o método da ação ser invocado.

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)

Parâmetros

context
ActionExecutingContext

A ação que executa o contexto.

Implementações

Atributos

Aplica-se a