WebSiteCloudException::CreateFromXml Method (HttpRequestMessage^, String^, HttpResponseMessage^, String^, Exception^)

 

Create a CloudException from a failed response sending XML content.

Namespace:   Microsoft.WindowsAzure.Management.WebSites
Assembly:  Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

public:
static CloudException^ CreateFromXml(
	HttpRequestMessage^ request,
	String^ requestContent,
	HttpResponseMessage^ response,
	String^ responseContent,
	Exception^ innerException = null
)

Parameters

request
Type: System.Net.Http::HttpRequestMessage^

The HTTP request.

requestContent
Type: System::String^

The HTTP request content.

response
Type: System.Net.Http::HttpResponseMessage^

The HTTP response.

responseContent
Type: System::String^

The HTTP response content.

innerException
Type: System::Exception^

Optional inner exception.

Return Value

Type: Microsoft.WindowsAzure::CloudException^

A CloudException representing the failure.

Return to top
Show: