HttpHeadAttribute Klasa

Definicja

Określa, że żądanie HTTP musi być metodą 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
Dziedziczenie
Atrybuty

Konstruktory

HttpHeadAttribute()

Inicjuje nowe wystąpienie klasy HttpHeadAttribute.

Metody

IsValidForRequest(ControllerContext, MethodInfo)

Określa, czy żądanie metody akcji jest prawidłowe dla określonego kontekstu kontrolera.

Dotyczy