HttpPatchAttribute Classe

Définition

Représente un attribut qui permet de restreindre une méthode d'action afin qu'elle gère uniquement les requêtes HTTP PATCH.

[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
Héritage
Attributs

Constructeurs

HttpPatchAttribute()

Initialise une nouvelle instance de la classe HttpPatchAttribute.

Méthodes

IsValidForRequest(ControllerContext, MethodInfo)

Détermine si la demande de la méthode d'action est valide pour le contexte du contrôleur spécifié.

S’applique à