NonActionAttribute 클래스

정의

컨트롤러 메서드가 동작 메서드가 아님을 표시하는 데 사용되는 특성을 나타냅니다.

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class NonActionAttribute : System.Web.Mvc.ActionMethodSelectorAttribute
type NonActionAttribute = class
    inherit ActionMethodSelectorAttribute
Public NotInheritable Class NonActionAttribute
Inherits ActionMethodSelectorAttribute
상속
특성

생성자

NonActionAttribute()

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

메서드

IsValidForRequest(ControllerContext, MethodInfo)

지정된 컨트롤러 컨텍스트를 사용하여 특성이 동작 메서드가 아닌 메서드를 표시하는지 확인합니다.

적용 대상