CloudHttpResponseErrorInfo.Create Method (HttpResponseMessage, String)

 

Creates a new CloudHttpResponseErrorInfo object from an HttpResponseMessage.

Namespace:   Microsoft.WindowsAzure.Common
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Public Shared Function Create (
	response As HttpResponseMessage,
	content As String
) As CloudHttpResponseErrorInfo

Parameters

response
Type: System.Net.Http.HttpResponseMessage

The response message.

content
Type: System.String

The response content, which may be passed separately if the response has already been disposed.

Return to top
Show: