ReflectedAsyncActionDescriptor ReflectedAsyncActionDescriptor 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
ReflectedAsyncActionDescriptorReflectedAsyncActionDescriptorReflectedAsyncActionDescriptor
Implements

Constructors

ReflectedAsyncActionDescriptor(MethodInfo, MethodInfo, String, ControllerDescriptor) ReflectedAsyncActionDescriptor(MethodInfo, MethodInfo, String, ControllerDescriptor) ReflectedAsyncActionDescriptor(MethodInfo, MethodInfo, String, ControllerDescriptor)

Initializes a new instance of the ReflectedAsyncActionDescriptor class.

Properties

ActionName ActionName ActionName

Gets the name of the action method.

AsyncMethodInfo AsyncMethodInfo AsyncMethodInfo

Gets the method information for the asynchronous action method.

CompletedMethodInfo CompletedMethodInfo CompletedMethodInfo

Gets the method information for the asynchronous completion method.

ControllerDescriptor ControllerDescriptor ControllerDescriptor

Gets the controller descriptor for the asynchronous action method.

MethodInfo MethodInfo MethodInfo
UniqueId UniqueId UniqueId

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

Methods

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

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

EndExecute(IAsyncResult) EndExecute(IAsyncResult) EndExecute(IAsyncResult)

Returns the result of an asynchronous operation.

Execute(ControllerContext, IDictionary<String,Object>) Execute(ControllerContext, IDictionary<String,Object>) Execute(ControllerContext, IDictionary<String,Object>)

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

(Inherited from AsyncActionDescriptor)
GetCustomAttributes(Boolean) GetCustomAttributes(Boolean) GetCustomAttributes(Boolean)

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

GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean)

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

GetFilterAttributes(Boolean) GetFilterAttributes(Boolean) GetFilterAttributes(Boolean)

Gets the filter attributes.

GetFilters() GetFilters() GetFilters()

Returns the filters that are associated with this action method.

(Inherited from ActionDescriptor)
GetParameters() GetParameters() GetParameters()

Returns the parameters of the action method.

GetSelectors() GetSelectors() GetSelectors()

Returns the action-method selectors.

IsDefined(Type, Boolean) IsDefined(Type, Boolean) IsDefined(Type, Boolean)

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

Applies to