ProducesResponseTypeAttribute<T> クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
アクションによって返される値と状態コードの種類を指定するフィルター。
public class ProducesResponseTypeAttribute<T> : Microsoft.AspNetCore.Mvc.ProducesResponseTypeAttribute
type ProducesResponseTypeAttribute<'T> = class
inherit ProducesResponseTypeAttribute
Public Class ProducesResponseTypeAttribute(Of T)
Inherits ProducesResponseTypeAttribute
型パラメーター
- T
Type応答で書き込まれるオブジェクトの 。
- 継承
コンストラクター
ProducesResponseTypeAttribute<T>(Int32) |
ProducesResponseTypeAttribute のインスタンスを初期化します。 |
ProducesResponseTypeAttribute<T>(Int32, String, String[]) |
ProducesResponseTypeAttribute のインスタンスを初期化します。 |
プロパティ
StatusCode |
応答の HTTP 状態コードを取得または設定します。 (継承元 ProducesResponseTypeAttribute) |
Type |
アクションによって返される値の型を取得または設定します。 (継承元 ProducesResponseTypeAttribute) |
明示的なインターフェイスの実装
IApiResponseMetadataProvider.SetContentTypes(MediaTypeCollection) |
アクションによって生成できる許可されるコンテンツ タイプのコレクションを構成します。 (継承元 ProducesResponseTypeAttribute) |