ExceptionContext クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
クラスを使用するためのコンテキストを HandleErrorAttribute 提供します。
public class ExceptionContext : System.Web.Mvc.ControllerContext
type ExceptionContext = class
inherit ControllerContext
Public Class ExceptionContext
Inherits ControllerContext
- 継承
コンストラクター
| ExceptionContext() |
ExceptionContext クラスの新しいインスタンスを初期化します。 |
| ExceptionContext(ControllerContext, Exception) |
指定したコントローラー コンテキストを使用して、 ExceptionContext 指定した例外の クラスの新しいインスタンスを初期化します。 |
プロパティ
| Controller |
コントローラーを取得または設定します。 (継承元 ControllerContext) |
| DisplayMode |
表示モードを取得します。 (継承元 ControllerContext) |
| Exception |
例外オブジェクトを取得または設定します。 |
| ExceptionHandled |
例外が処理されたかどうかを示す値を取得または設定します。 |
| HttpContext |
HTTP コンテキストを取得または設定します。 (継承元 ControllerContext) |
| IsChildAction |
関連付けられたアクション メソッドが子アクションかどうかを示す値を取得します。 (継承元 ControllerContext) |
| ParentActionViewContext |
親アクション メソッドのビュー コンテキスト情報を格納しているオブジェクトを取得します。 (継承元 ControllerContext) |
| RequestContext |
要求コンテキストを取得または設定します。 (継承元 ControllerContext) |
| Result |
アクションの結果を取得または設定します。 |
| RouteData |
URL ルート データを取得または設定します。 (継承元 ControllerContext) |