HttpPutAttribute Klasse

Definition

Stellt ein Attribut dar, das verwendet wird, um eine Aktionsmethode so einzuschränken, dass die Methode nur HTTP PUT-Anforderungen verarbeitet.

[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
Vererbung
Attribute

Konstruktoren

HttpPutAttribute()

Initialisiert eine neue Instanz der HttpPutAttribute-Klasse.

Methoden

IsValidForRequest(ControllerContext, MethodInfo)

Bestimmt, ob die PUT-Anforderung der Aktionsmethode für den angegebenen Controllerkontext gültig ist.

Gilt für: