Class ErrorResponseException
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
Exception thrown for an invalid response with ErrorResponse information.
public class ErrorResponseException : RestException
- Inheritance
-
ErrorResponseException
Constructors
ErrorResponseException()
Initializes a new instance of the ErrorResponseException class.
public ErrorResponseException()
ErrorResponseException(string)
Initializes a new instance of the ErrorResponseException class.
public ErrorResponseException(string message)
Parameters
message
stringThe exception message.
ErrorResponseException(string, Exception)
Initializes a new instance of the ErrorResponseException class.
public ErrorResponseException(string message, Exception innerException)
Parameters
Properties
Body
Gets or sets the body object.
public ErrorResponse Body { get; set; }
Property Value
Request
Gets information about the associated HTTP request.
public HttpRequestMessageWrapper Request { get; set; }
Property Value
- HttpRequestMessageWrapper
Response
Gets information about the associated HTTP response.
public HttpResponseMessageWrapper Response { get; set; }
Property Value
- HttpResponseMessageWrapper