Compartilhar via


WebSiteCloudException.CreateFromXml Método

Definição

Crie uma CloudException com base em uma resposta com falha ao enviar conteúdo XML.

public static Hyak.Common.CloudException CreateFromXml (System.Net.Http.HttpRequestMessage request, string requestContent, System.Net.Http.HttpResponseMessage response, string responseContent, Exception innerException = default);
static member CreateFromXml : System.Net.Http.HttpRequestMessage * string * System.Net.Http.HttpResponseMessage * string * Exception -> Hyak.Common.CloudException
Public Shared Function CreateFromXml (request As HttpRequestMessage, requestContent As String, response As HttpResponseMessage, responseContent As String, Optional innerException As Exception = Nothing) As CloudException

Parâmetros

request
HttpRequestMessage

A solicitação HTTP.

requestContent
String

O conteúdo da solicitação HTTP.

response
HttpResponseMessage

A resposta HTTP.

responseContent
String

O conteúdo da resposta HTTP.

innerException
Exception

Exceção interna opcional.

Retornos

Hyak.Common.CloudException

Uma CloudException que representa a falha.

Aplica-se a