HttpMessageContent Constructor ()
Initializes a new instance of the HttpMessageContent class encapsulating an HttpResponseMessage.
Namespace: System.Net.Http
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
'Declaration
Public Sub New ( _
httpResponse As HttpResponseMessage _
)
'Usage
Dim httpResponse As HttpResponseMessage
Dim instance As New HttpMessageContent(httpResponse)
public HttpMessageContent(
HttpResponseMessage httpResponse
)
public:
HttpMessageContent(
HttpResponseMessage^ httpResponse
)
new :
httpResponse:HttpResponseMessage -> HttpMessageContent
public function HttpMessageContent(
httpResponse : HttpResponseMessage
)
Parameters
- httpResponse
Type: HttpResponseMessage
The HttpResponseMessage instance to encapsulate.