CloudException.ParseXmlOrJsonError Method (String)

 

Parse the response content as either an XML or JSON error message.

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

public static CloudError ParseXmlOrJsonError(
	string content
)

Parameters

content
Type: System.String

The response content.

Return Value

Type: Microsoft.WindowsAzure.CloudError

An object containing the parsed error code and message.

Return to top
Show: