Show / Hide Table of Contents

    Class ErrorResponse

    Describes the format of Error response.

    Inheritance
    Object
    ErrorResponse
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Monitor.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