Sdílet prostřednictvím


ApiConventionApplicationModelConvention.DefaultErrorResponseType Vlastnost

Definice

Získá výchozí ProducesErrorResponseTypeAttribute , která je přidružena k akci, když není zjištěn žádný atribut.

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

Hodnota vlastnosti

Platí pro