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

属性值

适用于