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

Microsoft.Rest.HttpOperationException

Exception thrown for an invalid response with custom error information.
public object Body { get; set; }

Gets or sets the response object.

public HttpRequestMessageWrapper Request { get; set; }

Gets information about the associated HTTP request.

public HttpResponseMessageWrapper Response { get; set; }

Gets information about the associated HTTP response.

Initializes a new instance of the HttpOperationException class.

public HttpOperationException(string message)

Initializes a new instance of the HttpOperationException class.

public HttpOperationException(string message, Exception innerException)

Initializes a new instance of the HttpOperationException class.

Initializes a new instance of the HttpOperationException class.