ErrorContractException Class

Definition

Exception thrown for an invalid response with ErrorContract information.

public class ErrorContractException : Microsoft.Rest.RestException
type ErrorContractException = class
    inherit RestException
Public Class ErrorContractException
Inherits RestException
Inheritance
ErrorContractException

Constructors

ErrorContractException()

Initializes a new instance of the ErrorContractException class.

ErrorContractException(String)

Initializes a new instance of the ErrorContractException class.

ErrorContractException(String, Exception)

Initializes a new instance of the ErrorContractException class.

Properties

Body

Gets or sets the body object.

Request

Gets information about the associated HTTP request.

Response

Gets information about the associated HTTP response.

Applies to