Share via


ReflectedHttpActionDescriptor Class

 

Represents a reflected synchronous or asynchronous action method.

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

Inheritance Hierarchy

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

Syntax

public class ReflectedHttpActionDescriptor : HttpActionDescriptor
public ref class ReflectedHttpActionDescriptor : HttpActionDescriptor
type ReflectedHttpActionDescriptor = 
    class
        inherit HttpActionDescriptor
    end
Public Class ReflectedHttpActionDescriptor
    Inherits HttpActionDescriptor

Constructors

Name Description
System_CAPS_pubmethod ReflectedHttpActionDescriptor()

Initializes a new instance of the ReflectedHttpActionDescriptor class.

System_CAPS_pubmethod ReflectedHttpActionDescriptor(HttpControllerDescriptor, MethodInfo)

Initializes a new instance of the ReflectedHttpActionDescriptor class with the specified descriptor and method details..

Properties

Name Description
System_CAPS_pubproperty ActionBinding

Gets or sets the binding that describes the action.(Inherited from HttpActionDescriptor.)

System_CAPS_pubproperty ActionName

Gets the name of the action.(Overrides HttpActionDescriptor.ActionName.)

System_CAPS_pubproperty Configuration

Gets or sets the action configuration.(Inherited from HttpActionDescriptor.)

System_CAPS_pubproperty ControllerDescriptor

Gets the information that describes the controller of the action.(Inherited from HttpActionDescriptor.)

System_CAPS_pubproperty MethodInfo

Gets or sets the action-method information.

System_CAPS_pubproperty Properties

Gets the properties associated with this instance.(Inherited from HttpActionDescriptor.)

System_CAPS_pubproperty ResultConverter

Gets the converter for correctly transforming the result of calling ExecuteAsync(HttpControllerContext, IDictionaryString, Object)" into an instance of HttpResponseMessage.(Inherited from HttpActionDescriptor.)

System_CAPS_pubproperty ReturnType

Gets the return type of this method.(Overrides HttpActionDescriptor.ReturnType.)

System_CAPS_pubproperty SupportedHttpMethods

Gets or sets the supported http methods.(Overrides HttpActionDescriptor.SupportedHttpMethods.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Overrides Object.Equals(Object).)

System_CAPS_pubmethod ExecuteAsync(HttpControllerContext, IDictionary<String, Object>, CancellationToken)

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).)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetCustomAttributes<T>()

Returns the custom attributes associated with the action descriptor.(Inherited from HttpActionDescriptor.)

System_CAPS_pubmethod GetCustomAttributes<T>(Boolean)

Returns an array of custom attributes defined for this member, identified by type.(Overrides HttpActionDescriptor.GetCustomAttributes<T>(Boolean).)

System_CAPS_pubmethod GetFilterPipeline()

Retrieves the filters for the given configuration and action.(Inherited from HttpActionDescriptor.)

System_CAPS_pubmethod GetFilters()

Retrieves information about action filters.(Overrides HttpActionDescriptor.GetFilters().)

System_CAPS_pubmethod GetHashCode()

(Overrides Object.GetHashCode().)

System_CAPS_pubmethod GetParameters()

Retrieves the parameters of the action method.(Overrides HttpActionDescriptor.GetParameters().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

System.Web.Http.Controllers Namespace

Return to top