Export (0) Print
Expand All

HttpActionDescriptor.ResultConverter Property

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

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

public virtual IActionResultConverter ResultConverter { get; }

Property Value

Type: System.Web.Http.Controllers.IActionResultConverter
The action result converter.

The behavior of the returned converter should align with the action's declared ReturnType.

© 2014 Microsoft