Compartilhar via


Método WebSiteCloudException.CreateFromXml (HttpRequestMessage, String, HttpResponseMessage, String, Exception)

 

Crie um CloudException de uma resposta com falha, enviando o conteúdo XML.

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

Sintaxe

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

Parâmetros

  • requestContent
    Type: System.String

    O conteúdo da solicitação HTTP.

  • responseContent
    Type: System.String

    Conteúdo da resposta HTTP.

Valor de retorno

Type: Microsoft.WindowsAzure.CloudException

Um CloudException que representa a falha.

Consulte também

Classe WebSiteCloudException
Namespace Microsoft.WindowsAzure.Management.WebSites

Retornar ao topo