Condividi tramite


ProducesErrorResponseTypeAttribute(Type) Costruttore

Definizione

Inizializza una nuova istanza di 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)

Parametri

type
Type

Tipo di errore. Utilizzare Void per indicare l'assenza di un tipo di errore predefinito.

Si applica a