ASP.NET MVC Controls | ComponentOne
In This Topic
    RequestErrorEventArgs Class
    In This Topic
    File
    wijmo.js
    Module
    wijmo
    Base Class
    CancelEventArgs

    Provides arguments for XMLHttpRequest error events.

    Constructor

    Properties

    Events

    Constructor

    constructor

    constructor(xhr: XMLHttpRequest, msg?: string): RequestErrorEventArgs
    

    Initializes a new instance of the RequestErrorEventArgs class.

    Parameters
    • xhr: XMLHttpRequest

      The XMLHttpRequest that detected the error. The 'status' and 'statusText' properties of the request object contain details about the error.

    • msg: string Optional

      Optional error message.

    Returns
    RequestErrorEventArgs

    Properties

    cancel

    Gets or sets a value that indicates whether the event should be canceled.

    Inherited From
    CancelEventArgs
    Type
    boolean

    message

    Gets or sets an error message to display to the user.

    Type
    string

    request

    Gets a reference to the XMLHttpRequest that detected the error.

    The status and statusText properties of the request object contain details about the error.

    Type
    XMLHttpRequest

    Events

    Static empty

    Provides a value to use with events that do not have event data.

    Inherited From
    EventArgs
    Arguments
    EventArgs