Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides information about the action methods.
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 abstract class HttpActionDescriptor
public ref class HttpActionDescriptor abstract
[<AbstractClass>]
type HttpActionDescriptor = class end
Public MustInherit Class HttpActionDescriptor
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.. |
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, IDictionaryString, 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. |
Methods
Name | Description | |
---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
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. |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetCustomAttributes<T>() | Returns the custom attributes associated with the action descriptor. |
![]() |
GetCustomAttributes<T>(Boolean) | Gets the custom attributes for the action. |
![]() |
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.) |
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