ReflectedAsyncActionDescriptor Class

Definition

Provides information about an asynchronous action method, such as its name, controller, parameters, attributes, and filters.

public class ReflectedAsyncActionDescriptor : System.Web.Mvc.Async.AsyncActionDescriptor, System.Web.Mvc.IMethodInfoActionDescriptor
type ReflectedAsyncActionDescriptor = class
    inherit AsyncActionDescriptor
    interface IMethodInfoActionDescriptor
Public Class ReflectedAsyncActionDescriptor
Inherits AsyncActionDescriptor
Implements IMethodInfoActionDescriptor
Inheritance
ReflectedAsyncActionDescriptor
Implements

Constructors

ReflectedAsyncActionDescriptor(MethodInfo, MethodInfo, String, ControllerDescriptor)

Initializes a new instance of the ReflectedAsyncActionDescriptor class.

Properties

ActionName

Gets the name of the action method.

AsyncMethodInfo

Gets the method information for the asynchronous action method.

CompletedMethodInfo

Gets the method information for the asynchronous completion method.

ControllerDescriptor

Gets the controller descriptor for the asynchronous action method.

MethodInfo
UniqueId

Gets the lazy initialized unique ID of the instance of this class.

Methods

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

Begins running the asynchronous action method by using the specified parameters and controller context.

EndExecute(IAsyncResult)

Returns the result of an asynchronous operation.

Execute(ControllerContext, IDictionary<String,Object>)

Executes the asynchronous action method by using the specified parameters and controller context.

(Inherited from AsyncActionDescriptor)
GetCustomAttributes(Boolean)

Returns an array of custom attributes that are defined for this member, excluding named attributes.

GetCustomAttributes(Type, Boolean)

Returns an array of custom attributes that are defined for this member, identified by type.

GetFilterAttributes(Boolean)

Gets the filter attributes.

GetFilters()
Obsolete.

Returns the filters that are associated with this action method.

(Inherited from ActionDescriptor)
GetParameters()

Returns the parameters of the action method.

GetSelectors()

Returns the action-method selectors.

IsDefined(Type, Boolean)

Determines whether one or more instances of the specified attribute type are defined for the action member.

Applies to