ObjectContent public class ObjectContent : HttpContent Derived HttpContent class that contains a strongly typed object. Documentation public MediaTypeFormatter Formatter { get; } public Type ObjectType { get; } Gets the type of object managed by this ObjectContent instance. public object Value { get; set; } public ObjectContent(Type type, object value, MediaTypeFormatter formatter) public ObjectContent(Type type, object value, MediaTypeFormatter formatter, string mediaType)