Udostępnij za pośrednictwem


HttpDeleteAttribute Klasa

Definicja

Reprezentuje atrybut używany do ograniczania metody akcji tak, aby metoda obsługiwała tylko żądania HTTP DELETE.

[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
Dziedziczenie
Atrybuty

Konstruktory

HttpDeleteAttribute()

Inicjuje nowe wystąpienie klasy HttpDeleteAttribute.

Metody

IsValidForRequest(ControllerContext, MethodInfo)

Określa, czy żądanie usuwania metody akcji jest prawidłowe dla określonego kontekstu kontrolera.

Dotyczy