Show / Hide Table of Contents

    Class ErrorResponseException

    Exception thrown for an invalid response with ErrorResponse information.

    Inheritance
    Exception
    RestException
    ErrorResponseException
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.EventHub.dll
    Syntax
    public class ErrorResponseException : Microsoft.Rest.RestException

    Constructors

    ErrorResponseException()

    Initializes a new instance of the ErrorResponseException class.

    Declaration
    public ErrorResponseException ();

    ErrorResponseException(String)

    Initializes a new instance of the ErrorResponseException class.

    Declaration
    public ErrorResponseException (string message);
    Parameters
    String message

    The exception message.

    ErrorResponseException(String, Exception)

    Initializes a new instance of the ErrorResponseException class.

    Declaration
    public ErrorResponseException (string message, Exception innerException);
    Parameters
    String message

    The exception message.

    Exception innerException

    Inner exception.

    Properties

    Body

    Gets or sets the body object.

    Declaration
    public Microsoft.Azure.Management.EventHub.Models.ErrorResponse Body { get; set; }
    Property Value
    ErrorResponse

    Request

    Gets information about the associated HTTP request.

    Declaration
    public Microsoft.Rest.HttpRequestMessageWrapper Request { get; set; }
    Property Value
    HttpRequestMessageWrapper

    Response

    Gets information about the associated HTTP response.

    Declaration
    public Microsoft.Rest.HttpResponseMessageWrapper Response { get; set; }
    Property Value
    HttpResponseMessageWrapper

    Back to top Azure SDK for Net