Поделиться через


ApiConventionApplicationModelConvention.DefaultErrorResponseType Свойство

Определение

Возвращает значение по умолчанию ProducesErrorResponseTypeAttribute , связанное с действием, если атрибут не обнаружен.

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

Значение свойства

Применяется к