HttpPatchAttribute Klasse

Definition

Steht für ein Attribut, mit dem eine Aktionsmethode so eingeschränkt wird, dass nur HTTP PATCH-Anforderungen von der Methode verarbeitet werden können.

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

Konstruktoren

HttpPatchAttribute()

Initialisiert eine neue Instanz der HttpPatchAttribute-Klasse.

Methoden

IsValidForRequest(ControllerContext, MethodInfo)

Bestimmt, ob die Aktionsmethodenanforderung für den angegebenen Controllerkontext gültig ist.

Gilt für: