Show / Hide Table of Contents

    Class ODataError

    Information about an error.

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

    Constructors

    ODataError()

    Initializes a new instance of the ODataError class.

    Declaration
    public ODataError ();

    ODataError(String, String, String, IList<ODataError>)

    Initializes a new instance of the ODataError class.

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

    A language-independent error name.

    String message

    The error message.

    String target

    The target of the error (for example, the name of the property in error).

    IList<ODataError> details

    The error details.

    Properties

    Code

    Gets or sets a language-independent error name.

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

    Details

    Gets or sets the error details.

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

    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 error (for example, the name of the property in error).

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

    Back to top Azure SDK for Net