Compartir a través de


ProducesErrorResponseTypeAttribute(Type) Constructor

Definición

Inicializa una nueva instancia de la clase 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

Tipo de error. Use Void para indicar la ausencia de un tipo de error predeterminado.

Se aplica a