AcceptVerbsAttribute 클래스

정의

동작 메서드에서 응답할 HTTP 동사를 지정하는 특성을 나타냅니다.

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

생성자

AcceptVerbsAttribute(HttpVerbs)

작업 메서드가 응답할 HTTP 동사를 사용하여 클래스의 AcceptVerbsAttribute 새 instance 초기화합니다.

AcceptVerbsAttribute(String[])

작업 메서드가 응답할 HTTP 동사 목록을 사용하여 클래스의 새 instance AcceptVerbsAttribute 초기화합니다.

속성

Verbs

동작 메서드에서 응답할 HTTP 동사 목록을 가져오거나 설정합니다.

메서드

IsValidForRequest(ControllerContext, MethodInfo)

지정된 메서드 정보가 지정된 컨트롤러 컨텍스트에 적합한지 확인합니다.

적용 대상