Share via


AsyncActionDescriptor 类

定义

提供有关异步操作方法的信息,如方法的名称、控制器、参数、特性和筛选器。

public abstract class AsyncActionDescriptor : System.Web.Mvc.ActionDescriptor
type AsyncActionDescriptor = class
    inherit ActionDescriptor
Public MustInherit Class AsyncActionDescriptor
Inherits ActionDescriptor
继承
AsyncActionDescriptor
派生

构造函数

AsyncActionDescriptor()

初始化 AsyncActionDescriptor 类的新实例。

属性

ActionName

获取操作方法的名称。

(继承自 ActionDescriptor)
ControllerDescriptor

获取控制器描述符。

(继承自 ActionDescriptor)
UniqueId

使用延迟初始化来获取操作描述符的唯一 ID。

(继承自 ActionDescriptor)

方法

BeginExecute(ControllerContext, IDictionary<String,Object>, AsyncCallback, Object)

使用指定的参数和控制器上下文来调用异步操作方法。

EndExecute(IAsyncResult)

返回异步操作的结果。

Execute(ControllerContext, IDictionary<String,Object>)

使用指定的参数和控制器上下文来执行异步操作方法。

GetCustomAttributes(Boolean)

返回为此成员定义的自定义特性的数组,指定的特性除外。

(继承自 ActionDescriptor)
GetCustomAttributes(Type, Boolean)

返回为此成员定义的、按类型标识的自定义属性数组。

(继承自 ActionDescriptor)
GetFilterAttributes(Boolean)

获取筛选器特性。

(继承自 ActionDescriptor)
GetFilters()
已过时.

返回与此操作方法关联的筛选器。

(继承自 ActionDescriptor)
GetParameters()

返回操作方法的参数。

(继承自 ActionDescriptor)
GetSelectors()

返回操作方法选择器。

(继承自 ActionDescriptor)
IsDefined(Type, Boolean)

确定是否为此成员定义指定特性类型的一个或多个实例。

(继承自 ActionDescriptor)

适用于