共用方式為


IActionFilter.OnActionExecuting(ActionExecutingContext) 方法

定義

在動作執行之前呼叫,在模型系結完成之後。

public:
 void OnActionExecuting(Microsoft::AspNetCore::Mvc::Filters::ActionExecutingContext ^ context);
public void OnActionExecuting (Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext context);
abstract member OnActionExecuting : Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext -> unit
Public Sub OnActionExecuting (context As ActionExecutingContext)

參數

適用於