ReflectedHttpActionDescriptor Class

Represents a reflected synchronous or asynchronous action method.

Inheritance Hierarchy

System.Object
  System.Web.Http.Controllers.HttpActionDescriptor
    System.Web.Http.Controllers.ReflectedHttpActionDescriptor

Namespace:  System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Class ReflectedHttpActionDescriptor _
    Inherits HttpActionDescriptor
'Usage
Dim instance As ReflectedHttpActionDescriptor
public class ReflectedHttpActionDescriptor : HttpActionDescriptor
public ref class ReflectedHttpActionDescriptor : public HttpActionDescriptor
type ReflectedHttpActionDescriptor =  
    class
        inherit HttpActionDescriptor
    end
public class ReflectedHttpActionDescriptor extends HttpActionDescriptor

The ReflectedHttpActionDescriptor type exposes the following members.

Constructors

  Name Description
Public method ReflectedHttpActionDescriptor() Initializes a new instance of the ReflectedHttpActionDescriptor class.
Public method ReflectedHttpActionDescriptor(HttpControllerDescriptor, MethodInfo) Initializes a new instance of the ReflectedHttpActionDescriptor class with the specified descriptor and method details.

Top

Properties

  Name Description
Public property ActionBinding Gets or sets the binding that describes the action. (Inherited from HttpActionDescriptor.)
Public property ActionName Gets the name of the action. (Overrides HttpActionDescriptor.ActionName.)
Public property Configuration Gets or sets the action configuration. (Inherited from HttpActionDescriptor.)
Public property ControllerDescriptor Gets the information that describes the controller of the action. (Inherited from HttpActionDescriptor.)
Public property MethodInfo Gets or sets the action-method information.
Public property Properties Gets the properties associated with this instance. (Inherited from HttpActionDescriptor.)
Public property ResultConverter Gets the converter for correctly transforming the result of calling ExecuteAsync(HttpControllerContext, IDictionary<String, Object>)" into an instance of HttpResponseMessage. (Inherited from HttpActionDescriptor.)
Public property ReturnType Gets the return type of this method. (Overrides HttpActionDescriptor.ReturnType.)
Public property SupportedHttpMethods Gets or sets the supported http methods. (Overrides HttpActionDescriptor.SupportedHttpMethods.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method ExecuteAsync Executes the described action and returns a Task<TResult> that once completed will contain the return value of the action. (Overrides HttpActionDescriptor.ExecuteAsync(HttpControllerContext, IDictionary<String, Object>, CancellationToken).)
Protected method Finalize (Inherited from Object.)
Public method GetCustomAttributes<T> Returns an array of custom attributes defined for this member, identified by type. (Overrides HttpActionDescriptor.GetCustomAttributes<T>().)
Public method GetFilterPipeline Retrieves the filters for the given configuration and action. (Inherited from HttpActionDescriptor.)
Public method GetFilters Retrieves information about action filters. (Overrides HttpActionDescriptor.GetFilters().)
Public method GetHashCode (Inherited from Object.)
Public method GetParameters Retrieves the parameters of the action method. (Overrides HttpActionDescriptor.GetParameters().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Http.Controllers Namespace