ActionExecutingContext 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供类的 ActionExecuting 方法的 ActionFilterAttribute 上下文。
public class ActionExecutingContext : System.Web.Mvc.ControllerContext
type ActionExecutingContext = class
inherit ControllerContext
Public Class ActionExecutingContext
Inherits ControllerContext
- 继承
构造函数
| ActionExecutingContext() |
初始化 ActionExecutingContext 类的新实例。 |
| ActionExecutingContext(ControllerContext, ActionDescriptor, IDictionary<String,Object>) |
使用指定的控制器上下文、操作描述符和操作方法参数初始化 类的新实例 ActionExecutingContext 。 |
属性
| ActionDescriptor |
获取或设置操作描述符。 |
| ActionParameters |
获取或设置操作方法参数。 |
| Controller |
获取或设置控制器。 (继承自 ControllerContext) |
| DisplayMode |
获取显示模式。 (继承自 ControllerContext) |
| HttpContext |
获取或设置 HTTP 上下文。 (继承自 ControllerContext) |
| IsChildAction |
获取一个值,该值指示关联的操作方法是否为子操作。 (继承自 ControllerContext) |
| ParentActionViewContext |
获取一个对象,该对象包含父操作方法的视图上下文信息。 (继承自 ControllerContext) |
| RequestContext |
获取或设置请求上下文。 (继承自 ControllerContext) |
| Result |
获取或设置操作方法返回的结果。 |
| RouteData |
获取或设置 URL 路由数据。 (继承自 ControllerContext) |