CloudException::CreateFromXml Method (HttpRequestMessage^, String^, HttpResponseMessage^, String^, Exception^)
Note: This API is now obsolete.Namespace:
Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
Return to top
Creates a CloudException from a failed response that was sent using XML.
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
public: [ObsoleteAttribute("This method is obsolete. Use Create without defaultTo parameter.")] 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^
The inner exception.
Return Value
Type: Microsoft.WindowsAzure::CloudException^A CloudException that represents the failure.
Show: