public final class CancellationToken extends Object
CancellationTokenSource| Modifier and Type | Field and Description |
|---|---|
static CancellationToken |
NONE
A token that is never canceled.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCancellationRequested() |
void |
throwIfCancellationRequested()
Throws
CancellationException if cancellation has been requested. |
public static final CancellationToken NONE
public boolean isCancellationRequested()
public void throwIfCancellationRequested()
CancellationException if cancellation has been requested.Copyright © 2026 Aspose Pty Ltd. All rights reserved.