다음을 통해 공유


ActionFilterAttribute 클래스

정의

필터 특성에 대한 기본 클래스를 나타냅니다.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public abstract class ActionFilterAttribute : System.Web.Mvc.FilterAttribute, System.Web.Mvc.IActionFilter, System.Web.Mvc.IResultFilter
type ActionFilterAttribute = class
    inherit FilterAttribute
    interface IActionFilter
    interface IResultFilter
Public MustInherit Class ActionFilterAttribute
Inherits FilterAttribute
Implements IActionFilter, IResultFilter
상속
ActionFilterAttribute
파생
특성
구현

생성자

ActionFilterAttribute()

ActionFilterAttribute 클래스의 새 인스턴스를 초기화합니다.

속성

AllowMultiple

필터 특성의 인스턴스를 둘 이상 지정할 수 있는지를 나타내는 값을 가져오거나 설정합니다.

(다음에서 상속됨 FilterAttribute)
Order

작업 필터가 실행되는 순서를 가져오거나 설정합니다.

(다음에서 상속됨 FilterAttribute)

메서드

OnActionExecuted(ActionExecutedContext)

동작 메서드가 실행된 후 ASP.NET MVC 프레임워크에서 호출됩니다.

OnActionExecuting(ActionExecutingContext)

동작 메서드가 실행되기 전에 ASP.NET MVC 프레임워크에서 호출됩니다.

OnResultExecuted(ResultExecutedContext)

작업 결과가 실행된 후 ASP.NET MVC 프레임워크에서 호출됩니다.

OnResultExecuting(ResultExecutingContext)

작업 결과가 실행되기 전에 ASP.NET MVC 프레임워크에서 호출됩니다.

적용 대상