次の方法で共有


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

See Also

Reference

HttpMessageContent Class

HttpMessageContent Overload

System.Net.Http Namespace