ErrorModelException Class

Definition

Exception thrown for an invalid response with ErrorModel information.

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

Constructors

ErrorModelException()

Initializes a new instance of the ErrorModelException class.

ErrorModelException(SerializationInfo, StreamingContext)

Initializes a new instance of the ErrorModelException class.

ErrorModelException(String)

Initializes a new instance of the ErrorModelException class.

ErrorModelException(String, Exception)

Initializes a new instance of the ErrorModelException 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.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Serializes content of the exception.

Applies to