ApiConventionApplicationModelConvention.DefaultErrorResponseType Propiedad

Definición

Obtiene el valor predeterminado ProducesErrorResponseTypeAttribute asociado a una acción cuando no se detecta ningún atributo.

public:
 property Microsoft::AspNetCore::Mvc::ProducesErrorResponseTypeAttribute ^ DefaultErrorResponseType { Microsoft::AspNetCore::Mvc::ProducesErrorResponseTypeAttribute ^ get(); };
public Microsoft.AspNetCore.Mvc.ProducesErrorResponseTypeAttribute DefaultErrorResponseType { get; }
member this.DefaultErrorResponseType : Microsoft.AspNetCore.Mvc.ProducesErrorResponseTypeAttribute
Public ReadOnly Property DefaultErrorResponseType As ProducesErrorResponseTypeAttribute

Valor de propiedad

ProducesErrorResponseTypeAttribute

Se aplica a