Class InterruptMonitor

InterruptMonitor class

Represents information about interruption.

public class InterruptMonitor

Constructors

NameDescription
InterruptMonitor()The default constructor.

Properties

NameDescription
static ThreadLocalInstance { get; set; }Gets or sets the InterruptMonitor instance which is unique for each thread.
IsInterrupted { get; }Gets the value indicating whether operations should be interrupted.

Methods

NameDescription
Interrupt()Sends a request to interrupt operations.

See Also