Freigeben über


ApiConventionApplicationModelConvention.DefaultErrorResponseType Eigenschaft

Definition

Ruft den Standard ab ProducesErrorResponseTypeAttribute , der einer Aktion zugeordnet ist, wenn kein Attribut ermittelt wird.

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

Eigenschaftswert

Gilt für: