ValidateInputAttribute 클래스

정의

입력의 유효성을 검사해야 하는 동작 메서드를 표시하는 데 사용되는 특성을 나타냅니다.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public class ValidateInputAttribute : System.Web.Mvc.FilterAttribute, System.Web.Mvc.IAuthorizationFilter
type ValidateInputAttribute = class
    inherit FilterAttribute
    interface IAuthorizationFilter
Public Class ValidateInputAttribute
Inherits FilterAttribute
Implements IAuthorizationFilter
상속
ValidateInputAttribute
특성
구현

생성자

ValidateInputAttribute(Boolean)

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

속성

AllowMultiple

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

(다음에서 상속됨 FilterAttribute)
EnableValidation

유효성 검사를 사용하도록 설정되어 있는지 나타내는 값을 가져오거나 설정합니다.

Order

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

(다음에서 상속됨 FilterAttribute)

메서드

OnAuthorization(AuthorizationContext)

권한 부여가 필요한 경우 호출됩니다.

적용 대상