Bagikan melalui


HttpHeadAttribute Kelas

Definisi

Menentukan bahwa permintaan HTTP harus berupa metode HTTP HEAD.

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class HttpHeadAttribute : System.Web.Mvc.ActionMethodSelectorAttribute
type HttpHeadAttribute = class
    inherit ActionMethodSelectorAttribute
Public NotInheritable Class HttpHeadAttribute
Inherits ActionMethodSelectorAttribute
Warisan
Atribut

Konstruktor

HttpHeadAttribute()

Menginisialisasi instans baru kelas HttpHeadAttribute.

Metode

IsValidForRequest(ControllerContext, MethodInfo)

Menentukan apakah permintaan metode tindakan valid untuk konteks pengontrol yang ditentukan.

Berlaku untuk