cancellation_token_source::cancel Method

Cancels the token source and all the tokens associated with it.

void cancel() const;

Requirements

Header: ppl.h

Namespace: concurrency

See Also

Reference

cancellation_token_source Class