Share via


ObjectContent<T> Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the ObjectContent<T> class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method ObjectContent<T>(T, MediaTypeFormatter) Initializes a new instance of the ObjectContent<T> class.
Public method ObjectContent<T>(T, MediaTypeFormatter, MediaTypeHeaderValue) Initializes a new instance of the <see cref="T:System.Net.Http.ObjectContent`1" /> class.
Public method ObjectContent<T>(T, MediaTypeFormatter, String) Initializes a new instance of the ObjectContent<T> class.

Top

See Also

Reference

ObjectContent<T> Class

System.Net.Http Namespace