Partilhar via


ProducesErrorResponseTypeAttribute(Type) Construtor

Definição

Inicializa uma nova instância de ProducesErrorResponseTypeAttribute.

public:
 ProducesErrorResponseTypeAttribute(Type ^ type);
public ProducesErrorResponseTypeAttribute (Type type);
new Microsoft.AspNetCore.Mvc.ProducesErrorResponseTypeAttribute : Type -> Microsoft.AspNetCore.Mvc.ProducesErrorResponseTypeAttribute
Public Sub New (type As Type)

Parâmetros

type
Type

O tipo de erro. Use Void para indicar a ausência de um tipo de erro padrão.

Aplica-se a