ThrowIfInterruptionRequested

IInterruptionToken.ThrowIfInterruptionRequested 方法

如果请求中断,则抛出 OperationCanceledException。请求中断时抛出。

public void ThrowIfInterruptionRequested()

另请参见