A converter for creating responses from actions that return an arbitrary T value.
Inheritance Hierarchy
System.Object
  System.Web.Http.Controllers.ValueResultConverter<T>
Namespace:  System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Class ValueResultConverter(Of T) _
    Implements IActionResultConverter
'Usage
Dim instance As ValueResultConverter(Of T)
public class ValueResultConverter<T> : IActionResultConverter
generic<typename T>
public ref class ValueResultConverter : IActionResultConverter
type ValueResultConverter<'T> =  
    class 
        interface IActionResultConverter 
    end
JScript does not support generic types and methods.
Type Parameters
- T
 The declared return type of an action.
The ValueResultConverter<T> type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .jpeg) | ValueResultConverter<T> | Initializes a new instance of the ValueResultConverter<T> class. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .jpeg) | Convert | Converts the result of an action with arbitrary return type T to an instance of HttpResponseMessage. | 
| .jpeg) | Equals | (Inherited from Object.) | 
| .jpeg) | Finalize | (Inherited from Object.) | 
| .jpeg) | GetHashCode | (Inherited from Object.) | 
| .jpeg) | GetType | (Inherited from Object.) | 
| .jpeg) | MemberwiseClone | (Inherited from Object.) | 
| .jpeg) | 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.