CancellationToken.throwIfCancellationRequested 方法

定义

Throws a CancellationException if this token has had cancellation requested.

public void throwIfCancellationRequested()

适用于