Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HttpActionDescriptor Class

Provides information about the action methods.

Namespace:  System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)
public abstract class HttpActionDescriptor

The HttpActionDescriptor type exposes the following members.

  NameDescription
Protected methodHttpActionDescriptor()Initializes a new instance of the HttpActionDescriptor class.
Protected methodHttpActionDescriptor(HttpControllerDescriptor)Initializes a new instance of the HttpActionDescriptor class with specified information that describes the controller of the action.
Top
  NameDescription
Public propertyActionBindingGets or sets the binding that describes the action.
Public propertyActionNameGets the name of the action.
Public propertyConfigurationGets or sets the action configuration.
Public propertyControllerDescriptorGets the information that describes the controller of the action.
Public propertyPropertiesGets the properties associated with this instance.
Public propertyResultConverterGets the converter for correctly transforming the result of calling ExecuteAsync(HttpControllerContext, IDictionary<String, Object>)" into an instance of HttpResponseMessage.
Public propertyReturnTypeGets the return type of the descriptor.
Public propertySupportedHttpMethodsGets the collection of supported HTTP methods for the descriptor.
Top
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodExecuteAsyncExecutes the described action and returns a Task<TResult> that once completed will contain the return value of the action.
Protected methodFinalize (Inherited from Object.)
Public methodGetCustomAttributes<T>Returns the custom attributes associated with the action descriptor.
Public methodGetFilterPipelineRetrieves the filters for the given configuration and action.
Public methodGetFiltersRetrieves the filters for the action descriptor.
Public methodGetHashCode (Inherited from Object.)
Public methodGetParametersRetrieves the parameters for the action descriptor.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.