public interface IInterruptMonitor
extends com.aspose.ms.System.IDisposable
Represents information about interruption.
Modifier and Type | Method and Description |
---|---|
CancellationTokenSource |
getCancellationToken()
Monitor's cancellation token used for process interruption.
|
void |
interrupt()
Sends a request to interrupt operations.
|
CancellationTokenSource getCancellationToken()
Monitor's cancellation token used for process interruption. By default each IInterruptMonitor generates its own cancellationSource
void interrupt()
Sends a request to interrupt operations.
Copyright © 2023 Aspose. All Rights Reserved.