ProducesErrorResponseTypeAttribute(Type) コンストラクター

定義

ProducesErrorResponseTypeAttribute の新しいインスタンスを初期化します。

public:
 ProducesErrorResponseTypeAttribute(Type ^ type);
public ProducesErrorResponseTypeAttribute (Type type);
new Microsoft.AspNetCore.Mvc.ProducesErrorResponseTypeAttribute : Type -> Microsoft.AspNetCore.Mvc.ProducesErrorResponseTypeAttribute
Public Sub New (type As Type)

パラメーター

type
Type

エラーの種類。 既定のエラーの種類がないことを示すには、 を使用 Void します。

適用対象