Controller.OnActionExecuting(ActionExecutingContext) 方法

定义

在调用操作方法前调用。

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)

参数

context
ActionExecutingContext

执行上下文的操作。

实现

属性

适用于