HttpResponseMessageExtensions.CreateContent Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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 methodStatic member CreateContent<T>(HttpResponseMessage, T) Creates a new ObjectContent instance associated with the given HttpResponseMessage.
Public methodStatic member CreateContent(HttpResponseMessage, Type, Object) Creates a new ObjectContent instance associated with the given HttpResponseMessage.
Public methodStatic member CreateContent<T>(HttpResponseMessage, T, IEnumerable<MediaTypeFormatter>, IFormatterSelector) Creates a new ObjectContent instance associated with the given HttpResponseMessage.
Public methodStatic member CreateContent(HttpResponseMessage, Type, Object, IEnumerable<MediaTypeFormatter>, IFormatterSelector) Creates a new ObjectContent instance associated with the given HttpResponseMessage.
Public methodStatic member CreateContent<T>(HttpResponseMessage, T, MediaTypeHeaderValue, IEnumerable<MediaTypeFormatter>, IFormatterSelector) Creates a new ObjectContent instance associated with the given HttpResponseMessage.
Public methodStatic member CreateContent(HttpResponseMessage, Type, Object, MediaTypeHeaderValue, IEnumerable<MediaTypeFormatter>, IFormatterSelector) Creates a new ObjectContent instance associated with the given HttpResponseMessage.

Top

See Also

Reference

HttpResponseMessageExtensions Class

System.Net.Http Namespace