Show / Hide Table of Contents

    Class ODataError

    Error information in OData format.

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

    Constructors

    ODataError()

    Initializes a new instance of the ODataError class.

    Declaration
    public ODataError ();

    ODataError(String, String, IList<ODataError>)

    Initializes a new instance of the ODataError class.

    Declaration
    public ODataError (string code = null, string message = null, System.Collections.Generic.IList<Microsoft.Azure.Management.DataMigration.Models.ODataError> details = null);
    Parameters
    String code

    The machine-readable description of the error, such as 'InvalidRequest' or 'InternalServerError'

    String message

    The human-readable description of the error

    IList<ODataError> details

    Inner errors that caused this error

    Properties

    Code

    Gets or sets the machine-readable description of the error, such as 'InvalidRequest' or 'InternalServerError'

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

    Details

    Gets or sets inner errors that caused this error

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

    Message

    Gets or sets the human-readable description of the error

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

    Back to top Azure SDK for Net