<PackageReference Include="Microsoft.Rest.ClientRuntime.Azure" Version="3.3.9" />

Microsoft.Rest.Azure.CloudException

public class CloudException : RestException
An exception generated from an http response returned from a Microsoft Azure service
public CloudError Body { get; set; }

Gets or sets the response object.

public HttpRequestMessageWrapper Request { get; set; }

Gets information about the associated HTTP request.

public string RequestId { get; set; }

Gets or sets the value that uniquely identifies a request made against the service.

public HttpResponseMessageWrapper Response { get; set; }

Gets information about the associated HTTP response.

public CloudException()

Initializes a new instance of the CloudException class.

public CloudException(string message)

Initializes a new instance of the CloudException class given exception message.

public CloudException(string message, Exception innerException)

Initializes a new instance of the CloudException class caused by another exception.