Dispose()

CancellationTokenSource::Dispose() method

Releases all resources used by the CancellationTokenSource.

void System::Threading::CancellationTokenSource::Dispose() override

Remarks

Unregisters all callbacks and makes the token unusable. Multiple calls are safe and have no additional effect.

See Also