This interface provides a means to cancel an operation that is in progress.
void cancel ( nsresult reason )
Call this method to request that this object abort whatever operation it may be performing.
- reason: Pass a failure code to indicate the reason why this operation is being canceled. It is an error to pass a success code.
This interface is the type of the following properties:
This interface is passed as an argument to the following methods:
This interface is returned from the following methods:
Reference documentation is generated from Mozilla's source.