HttpActionDescriptor Class
Provides information about the action methods.
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 MustInherit Class HttpActionDescriptor
'Usage
Dim instance As HttpActionDescriptor
public abstract class HttpActionDescriptor
public ref class HttpActionDescriptor abstract
[<AbstractClassAttribute>]
type HttpActionDescriptor = class end
public abstract class HttpActionDescriptor
The HttpActionDescriptor type exposes the following members.
Constructors
Name | Description | |
---|---|---|
HttpActionDescriptor() | Initializes a new instance of the HttpActionDescriptor class. | |
HttpActionDescriptor(HttpControllerDescriptor) | Initializes a new instance of the HttpActionDescriptor class with specified information that describes the controller of the action. |
Top
Properties
Name | Description | |
---|---|---|
ActionBinding | Gets or sets the binding that describes the action. | |
ActionName | Gets the name of the action. | |
Configuration | Gets or sets the action configuration. | |
ControllerDescriptor | Gets the information that describes the controller of the action. | |
Properties | Gets the properties associated with this instance. | |
ResultConverter | Gets the converter for correctly transforming the result of calling ExecuteAsync(HttpControllerContext, IDictionary<String, Object>)" into an instance of HttpResponseMessage. | |
ReturnType | Gets the return type of the descriptor. | |
SupportedHttpMethods | Gets the collection of supported HTTP methods for the descriptor. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
ExecuteAsync | Executes the described action and returns a Task<TResult> that once completed will contain the return value of the action. | |
Finalize | (Inherited from Object.) | |
GetCustomAttributes<T> | Returns the custom attributes associated with the action descriptor. | |
GetFilterPipeline | Retrieves the filters for the given configuration and action. | |
GetFilters | Retrieves the filters for the action descriptor. | |
GetHashCode | (Inherited from Object.) | |
GetParameters | Retrieves the parameters for the action descriptor. | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.