HttpHeadAttribute Klasse

Definition

Gibt an, dass die HTTP-Anforderung die HTTP HEAD-Methode sein muss.

[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
Vererbung
Attribute

Konstruktoren

HttpHeadAttribute()

Initialisiert eine neue Instanz der HttpHeadAttribute-Klasse.

Methoden

IsValidForRequest(ControllerContext, MethodInfo)

Bestimmt, ob die Aktionsmethodenanforderung für den angegebenen Controllerkontext gültig ist.

Gilt für: