Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / CancellationTokenSource Class / cancel Method
In This Topic
    cancel Method
    In This Topic
    Initiates cancel request. All operations that have been associated with this token will be cancelled.

    It is assumed that the consumers of getToken will do 'best-effort' attempt to perform cancellation.This method returns immediately and if the cancellation is successful the cancelled operation will throw java.util.concurrent.CancellationException.

    Syntax
    public void cancel()
    See Also