Show / Hide Table of Contents

    Class ResponseWithError

    An error response from the API.

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

    Constructors

    ResponseWithError()

    Initializes a new instance of the ResponseWithError class.

    Declaration
    public ResponseWithError ();

    ResponseWithError(Error)

    Initializes a new instance of the ResponseWithError class.

    Declaration
    public ResponseWithError (Microsoft.Azure.Management.Monitor.Models.Error error);
    Parameters
    Error error

    Error information.

    Properties

    Error

    Gets or sets error information.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="error")]
    public Microsoft.Azure.Management.Monitor.Models.Error Error { get; set; }
    Property Value
    Error

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net