Bagikan melalui


ApiConventionApplicationModelConvention.DefaultErrorResponseType Properti

Definisi

Mendapatkan default ProducesErrorResponseTypeAttribute yang terkait dengan tindakan ketika tidak ada atribut yang ditemukan.

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

Nilai Properti

Berlaku untuk