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)
Syntax
public static CloudError ParseXmlOrJsonError(
string content
)
public:
static CloudError^ ParseXmlOrJsonError(
String^ content
)
static member ParseXmlOrJsonError :
content:string -> CloudError
Public Shared Function ParseXmlOrJsonError (
content As String
) As CloudError
Parameters
content
Type: System.StringThe response content.
Return Value
Type: Microsoft.WindowsAzure.CloudError
An object containing the parsed error code and message.
See Also
CloudException Class
Microsoft.WindowsAzure Namespace
Return to top