Show / Hide Table of Contents

    Class ApiErrorBase

    Api error base.

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

    Constructors

    ApiErrorBase()

    Initializes a new instance of the ApiErrorBase class.

    Declaration
    public ApiErrorBase ();

    ApiErrorBase(String, String, String)

    Initializes a new instance of the ApiErrorBase class.

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

    The error code.

    String target

    The target of the particular error.

    String message

    The error message.

    Properties

    Code

    Gets or sets the error code.

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

    Message

    Gets or sets the error message.

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

    Target

    Gets or sets the target of the particular error.

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

    Back to top Azure SDK for Net