HttpMessageContent Constructor (HttpRequestMessage)

Initializes a new instance of the HttpMessageContent class encapsulating an HttpRequestMessage.

Namespace:  System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

public HttpMessageContent(
	HttpRequestMessage httpRequest
)

Parameters

httpRequest
Type: HttpRequestMessage
The HttpResponseMessage instance to encapsulate.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft