Bagikan melalui


Controller.OnActionExecuting(ActionExecutingContext) Metode

Definisi

Dipanggil sebelum metode tindakan dipanggil.

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)

Parameter

context
ActionExecutingContext

Tindakan yang menjalankan konteks.

Penerapan

Atribut

Berlaku untuk