HttpHeadAttribute HttpHeadAttribute HttpHeadAttribute Class

Definition

Specifies that the HTTP request must be the HTTP HEAD method.

[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
Inheritance
Attributes

Constructors

HttpHeadAttribute() HttpHeadAttribute() HttpHeadAttribute()

Initializes a new instance of the HttpHeadAttribute class.

Methods

IsValidForRequest(ControllerContext, MethodInfo) IsValidForRequest(ControllerContext, MethodInfo) IsValidForRequest(ControllerContext, MethodInfo)

Determines whether the action method request is valid for the specified controller context.

Applies to