Public Member Functions

nsICancelable Interface Reference

This interface provides a means to cancel an operation that is in progress. More...

import "nsICancelable.idl";

Inheritance diagram for nsICancelable:

List of all members.

Public Member Functions

void cancel (in nsresult aReason)
 Call this method to request that this object abort whatever operation it may be performing.

Detailed Description

This interface provides a means to cancel an operation that is in progress.

Status:
UNDER_REVIEW

Member Function Documentation

void nsICancelable::cancel ( in nsresult  aReason  ) 

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

Parameters:
aReason Pass a failure code to indicate the reason why this operation is being canceled. It is an error to pass a success code.

The documentation for this interface was generated from the following file: