Aracılığıyla paylaş


HttpPutAttribute Sınıf

Tanım

Yöntemin yalnızca HTTP PUT 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 HttpPutAttribute : System.Web.Mvc.ActionMethodSelectorAttribute
type HttpPutAttribute = class
    inherit ActionMethodSelectorAttribute
Public NotInheritable Class HttpPutAttribute
Inherits ActionMethodSelectorAttribute
Devralma
Öznitelikler

Oluşturucular

HttpPutAttribute()

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

Yöntemler

IsValidForRequest(ControllerContext, MethodInfo)

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

Şunlara uygulanır