ControllerContext クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した RouteBase インスタンスとインスタンスに一致する HTTP 要求に関する情報を ControllerBase カプセル化します。
public class ControllerContext
type ControllerContext = class
Public Class ControllerContext
- 継承
-
ControllerContext
- 派生
コンストラクター
| ControllerContext() |
ControllerContext クラスの新しいインスタンスを初期化します。 |
| ControllerContext(ControllerContext) |
指定したコントローラー コンテキストを使用して、 ControllerContext クラスの新しいインスタンスを初期化します。 |
| ControllerContext(HttpContextBase, RouteData, ControllerBase) |
指定した HTTP コンテキスト、URL ルート データ、およびコントローラーを使用して、 クラスの新しいインスタンス ControllerContext を初期化します。 |
| ControllerContext(RequestContext, ControllerBase) |
指定した要求コンテキストとコントローラーを ControllerContext 使用して、 クラスの新しいインスタンスを初期化します。 |
プロパティ
| Controller |
コントローラーを取得または設定します。 |
| DisplayMode |
表示モードを取得します。 |
| HttpContext |
HTTP コンテキストを取得または設定します。 |
| IsChildAction |
関連付けられたアクション メソッドが子アクションかどうかを示す値を取得します。 |
| ParentActionViewContext |
親アクション メソッドのビュー コンテキスト情報を格納しているオブジェクトを取得します。 |
| RequestContext |
要求コンテキストを取得または設定します。 |
| RouteData |
URL ルート データを取得または設定します。 |