ICancellationTokenSource.Cancel Method
Requests cancellation. Safe from any thread, and more than once: only the first call has an effect.
Remarks
Registered callbacks run on the calling thread before Cancel returns, most recently registered first. All of them run even if some raise; the first exception is then raised again from Cancel.
Syntax
Unit: Bcl.Cancellation
procedure ICancellationTokenSource.Cancel; virtual; abstract;