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)
Syntax
public static CloudHttpResponseErrorInfo Create(
HttpResponseMessage response,
string content
)
public:
static CloudHttpResponseErrorInfo^ Create(
HttpResponseMessage^ response,
String^ content
)
static member Create :
response:HttpResponseMessage *
content:string -> CloudHttpResponseErrorInfo
Public Shared Function Create (
response As HttpResponseMessage,
content As String
) As CloudHttpResponseErrorInfo
Parameters
response
Type: System.Net.Http.HttpResponseMessageThe response message.
content
Type: System.StringThe response content, which may be passed separately if the response has already been disposed.
Return Value
Type: Microsoft.WindowsAzure.Common.CloudHttpResponseErrorInfo
A CloudHttpResponseErrorInfo object.
See Also
Create Overload
CloudHttpResponseErrorInfo Class
Microsoft.WindowsAzure.Common Namespace
Return to top