HttpActionDescriptor Class
Provides information about the action methods.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
System.Object
System.Web.Http.Controllers.HttpActionDescriptor
System.Web.Http.Controllers.ReflectedHttpActionDescriptor
public abstract class HttpActionDescriptor
public ref class HttpActionDescriptor abstract
[<AbstractClass>]
type HttpActionDescriptor = class end
Public MustInherit Class HttpActionDescriptor
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.. |
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. |
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.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
System.Web.Http.Controllers Namespace
Return to top