Class InterruptMonitor
InterruptMonitor class
Represents information about interruption.
public class InterruptMonitor : IInterruptMonitor
Constructors
Properties
Name | Description |
---|
CancellationToken { get; } | Monitor’s cancellation token used for process interruption. By default each IInterruptMonitor generates its own cancellationSource. |
static ThreadLocalInstance { get; set; } | Gets or sets the IInterruptMonitor instance which is unique for each thread. |
Methods
Name | Description |
---|
Dispose() | Disposes used resources. |
virtual Interrupt() | Sends a request to interrupt operations. |
See Also