Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

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

 Last updated by: Sheppy,