ProducesResponseTypeAttribute コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
ProducesResponseTypeAttribute(Int32)
ProducesResponseTypeAttribute のインスタンスを初期化します。
public:
ProducesResponseTypeAttribute(int statusCode);
public ProducesResponseTypeAttribute (int statusCode);
new Microsoft.AspNetCore.Mvc.ProducesResponseTypeAttribute : int -> Microsoft.AspNetCore.Mvc.ProducesResponseTypeAttribute
Public Sub New (statusCode As Integer)
パラメーター
- statusCode
- Int32
HTTP 応答状態コード。
適用対象
ProducesResponseTypeAttribute(Type, Int32)
ProducesResponseTypeAttribute のインスタンスを初期化します。
public:
ProducesResponseTypeAttribute(Type ^ type, int statusCode);
public ProducesResponseTypeAttribute (Type type, int statusCode);
new Microsoft.AspNetCore.Mvc.ProducesResponseTypeAttribute : Type * int -> Microsoft.AspNetCore.Mvc.ProducesResponseTypeAttribute
Public Sub New (type As Type, statusCode As Integer)
パラメーター
- statusCode
- Int32
HTTP 応答状態コード。
適用対象
ProducesResponseTypeAttribute(Type, Int32, String, String[])
ProducesResponseTypeAttribute のインスタンスを初期化します。
public ProducesResponseTypeAttribute (Type type, int statusCode, string contentType, params string[] additionalContentTypes);
new Microsoft.AspNetCore.Mvc.ProducesResponseTypeAttribute : Type * int * string * string[] -> Microsoft.AspNetCore.Mvc.ProducesResponseTypeAttribute
Public Sub New (type As Type, statusCode As Integer, contentType As String, ParamArray additionalContentTypes As String())
パラメーター
- statusCode
- Int32
HTTP 応答状態コード。
- contentType
- String
応答に関連付けられているコンテンツ タイプ。
- additionalContentTypes
- String[]
応答でサポートされる追加のコンテンツ タイプ。
適用対象
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示