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: Sheppy, trevorh, Ayhfung
 Last updated by: Sheppy,