Aracılığıyla paylaş


HttpHeadAttribute Sınıf

Tanım

HTTP isteğinin HTTP HEAD yöntemi olması gerektiğini belirtir.

[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
Devralma
Öznitelikler

Oluşturucular

HttpHeadAttribute()

HttpHeadAttribute sınıfının yeni bir örneğini başlatır.

Yöntemler

IsValidForRequest(ControllerContext, MethodInfo)

Eylem yöntemi isteğinin belirtilen denetleyici bağlamı için geçerli olup olmadığını belirler.

Şunlara uygulanır