HttpPatchAttribute Classe

Definição

Representa um atributo usado para restringir um método de ação a fim de que o método trate apenas das solicitações 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
Herança
Atributos

Construtores

HttpPatchAttribute()

Inicializa uma nova instância da classe HttpPatchAttribute.

Métodos

IsValidForRequest(ControllerContext, MethodInfo)

Determina se a solicitação do método de ação é válida para o contexto de controlador especificado.

Aplica-se a