MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla
Your Search Results

    nsICancelable

    This interface provides a means to cancel an operation that is in progress.
    1.0
    28
    Introduced
    Gecko 1.8
    Inherits from: nsISupports Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)

    Method overview

    void cancel(in nsresult aReason);

    Methods

    cancel()

    Call this method to request that this object abort whatever operation it may be performing.

    void cancel(
      in nsresult aReason
    );
    
    Parameters
    aReason
    A failure code indicating why the operation is being canceled. It is an error to pass a success code.

    Document Tags and Contributors

    Contributors to this page: Ayhfung, trevorh, Sheppy
    Last updated by: Sheppy,