Share via


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)

Syntax

public static CloudException CreateFromXml(
    HttpRequestMessage request,
    string requestContent,
    HttpResponseMessage response,
    string responseContent,
    Exception innerException = null
)
public:
static CloudException^ CreateFromXml(
    HttpRequestMessage^ request,
    String^ requestContent,
    HttpResponseMessage^ response,
    String^ responseContent,
    Exception^ innerException = null
)
static member CreateFromXml : 
        request:HttpRequestMessage *
        requestContent:string *
        response:HttpResponseMessage *
        responseContent:string *
        innerException:Exception = null -> CloudException
Public Shared Function CreateFromXml (
    request As HttpRequestMessage,
    requestContent As String,
    response As HttpResponseMessage,
    responseContent As String,
    innerException As Exception
) As CloudException

Parameters

Return Value

Type: Microsoft.WindowsAzure.CloudException

A CloudException representing the failure.

See Also

WebSiteCloudException Class
Microsoft.WindowsAzure.Management.WebSites Namespace

Return to top