CloudHttpResponseErrorInfo.Create Method (HttpResponseMessage, String)
Creates a new CloudHttpResponseErrorInfo object from an HttpResponseMessage.
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 Value
Type: Microsoft.WindowsAzure.Common.CloudHttpResponseErrorInfoA CloudHttpResponseErrorInfo object.
Show: