HttpActionDescriptor Class


Provides information about the action methods.

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

Inheritance Hierarchy



public abstract class HttpActionDescriptor
public ref class HttpActionDescriptor abstract 
type HttpActionDescriptor = class end
Public MustInherit Class HttpActionDescriptor


Name Description
System_CAPS_protmethod HttpActionDescriptor()

Initializes a new instance of the HttpActionDescriptor class.

System_CAPS_protmethod HttpActionDescriptor(HttpControllerDescriptor)

Initializes a new instance of the HttpActionDescriptor class with specified information that describes the controller of the action..


Name Description
System_CAPS_pubproperty ActionBinding

Gets or sets the binding that describes the action.

System_CAPS_pubproperty ActionName

Gets the name of the action.

System_CAPS_pubproperty Configuration

Gets or sets the action configuration.

System_CAPS_pubproperty ControllerDescriptor

Gets the information that describes the controller of the action.

System_CAPS_pubproperty Properties

Gets the properties associated with this instance.

System_CAPS_pubproperty ResultConverter

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

System_CAPS_pubproperty ReturnType

Gets the return type of the descriptor.

System_CAPS_pubproperty SupportedHttpMethods

Gets the collection of supported HTTP methods for the descriptor.


Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from 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.

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetCustomAttributes<T>()

Returns the custom attributes associated with the action descriptor.

System_CAPS_pubmethod GetCustomAttributes<T>(Boolean)

Gets the custom attributes for the action.

System_CAPS_pubmethod GetFilterPipeline()

Retrieves the filters for the given configuration and action.

System_CAPS_pubmethod GetFilters()

Retrieves the filters for the action descriptor.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetParameters()

Retrieves the parameters for the action descriptor.

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