ThrowIfInterruptionRequested

InterruptionToken.ThrowIfInterruptionRequested method

Throws an OperationCanceledException if interruption was requested.

public void ThrowIfInterruptionRequested()

Exceptions

exception condition
OperationCanceledException Thrown when interruption was requested.

See Also