Show / Hide Table of Contents

    Class ApiError

    Api error.

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

    Constructors

    ApiError()

    Initializes a new instance of the ApiError class.

    Declaration
    public ApiError ();

    ApiError(IList<ApiErrorBase>, InnerError, String, String, String)

    Initializes a new instance of the ApiError class.

    Declaration
    public ApiError (System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ApiErrorBase> details = null, Microsoft.Azure.Management.Compute.Models.InnerError innererror = null, string code = null, string target = null, string message = null);
    Parameters
    IList<ApiErrorBase> details

    The Api error details

    InnerError innererror

    The Api inner error

    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

    Details

    Gets or sets the Api error details

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="details")]
    public System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ApiErrorBase> Details { get; set; }
    Property Value
    IList<ApiErrorBase>

    Innererror

    Gets or sets the Api inner error

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="innererror")]
    public Microsoft.Azure.Management.Compute.Models.InnerError Innererror { get; set; }
    Property Value
    InnerError

    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