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
request
Type: System.Net.Http.HttpRequestMessageA solicitação HTTP.
requestContent
Type: System.StringO conteúdo da solicitação HTTP.
response
Type: System.Net.Http.HttpResponseMessageA resposta HTTP.
responseContent
Type: System.StringConteúdo da resposta HTTP.
innerException
Type: System.ExceptionExceção interna opcional.
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