ApiConventionApplicationModelConvention.DefaultErrorResponseType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the default ProducesErrorResponseTypeAttribute that is associated with an action when no attribute is discovered.
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