HttpHeadAttribute Class¶
Inheritance Hierarchy¶
System.Object
System.Attribute
Microsoft.AspNet.Mvc.HttpMethodAttribute
Microsoft.AspNet.Mvc.HttpHeadAttribute
Syntax¶
public class HttpHeadAttribute : HttpMethodAttribute, _Attribute, IActionHttpMethodProvider, IRouteTemplateProvider
Constructors¶
-
Microsoft.AspNet.Mvc.HttpHeadAttribute.HttpHeadAttribute()
Creates a new [Microsoft.AspNet.Mvc.HttpHeadAttribute](Microsoft.AspNet.Mvc.HttpHeadAttribute.yml).
public HttpHeadAttribute()
-
HttpHeadAttribute
(System.String)¶ Creates a new [Microsoft.AspNet.Mvc.HttpHeadAttribute](Microsoft.AspNet.Mvc.HttpHeadAttribute.yml) with the given route template.
Arguments: - template (System.String) – The route template. May not be null.
public HttpHeadAttribute(string template)
-