Show / Hide Table of Contents

    Class ErrorResponse

    Error response indicates EventHub service is not able to process the incoming request. The reason is provided in the error message.

    Inheritance
    Object
    ErrorResponse
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.EventHub.dll
    Syntax
    public class ErrorResponse

    Constructors

    ErrorResponse()

    Initializes a new instance of the ErrorResponse class.

    Declaration
    public ErrorResponse ();

    ErrorResponse(String, String)

    Initializes a new instance of the ErrorResponse class.

    Declaration
    public ErrorResponse (string code = null, string message = null);
    Parameters
    String code

    Error code.

    String message

    Error message indicating why the operation failed.

    Properties

    Code

    Gets or sets error code.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="code")]
    public string Code { get; set; }
    Property Value
    String

    Message

    Gets or sets error message indicating why the operation failed.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="message")]
    public string Message { get; set; }
    Property Value
    String

    Back to top Azure SDK for Net