ActionExecutedContext 类
本文内容
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为 类的 ActionExecuted 方法 ActionFilterAttribute 提供上下文。
public class ActionExecutedContext : System.Web.Mvc.ControllerContext
type ActionExecutedContext = class
inherit ControllerContext
Public Class ActionExecutedContext
Inherits ControllerContext
- 继承
构造函数
Action |
初始化 ActionExecutedContext 类的新实例。 |
Action |
初始化 ActionExecutedContext 类的新实例。 |
属性
Action |
获取或设置操作描述符。 |
Canceled |
获取或设置一个值,该值指示取消此 ActionExecutedContext 对象。 |
Controller |
获取或设置控制器。 (继承自 ControllerContext) |
Display |
获取显示模式。 (继承自 ControllerContext) |
Exception |
获取或设置在操作方法的执行过程中发生的异常(如果有)。 |
Exception |
获取或设置一个值,该值指示是否处理异常。 |
Http |
获取或设置 HTTP 上下文。 (继承自 ControllerContext) |
Is |
获取一个值,该值指示关联的操作方法是否为子操作。 (继承自 ControllerContext) |
Parent |
获取一个对象,该对象包含父操作方法的视图上下文信息。 (继承自 ControllerContext) |
Request |
获取或设置请求上下文。 (继承自 ControllerContext) |
Result |
获取或设置操作方法返回的结果。 |
Route |
获取或设置 URL 路由数据。 (继承自 ControllerContext) |