Aracılığıyla paylaş


HttpDeleteAttribute Sınıf

Tanım

Yöntemin yalnızca HTTP DELETE isteklerini işlemesi için bir eylem yöntemini kısıtlamak için kullanılan özniteliği temsil eder.

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class HttpDeleteAttribute : System.Web.Mvc.ActionMethodSelectorAttribute
type HttpDeleteAttribute = class
    inherit ActionMethodSelectorAttribute
Public NotInheritable Class HttpDeleteAttribute
Inherits ActionMethodSelectorAttribute
Devralma
Öznitelikler

Oluşturucular

HttpDeleteAttribute()

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

Yöntemler

IsValidForRequest(ControllerContext, MethodInfo)

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

Şunlara uygulanır