Compartir a través de


cancellation_token_source::cancel Method

Cancels the token. Any task_group, structured_task_group, or task which utilizes the token will be canceled upon this call and throw an exception at the next interruption point.

void cancel() const;

Requirements

Header: pplcancellation_token.h

Namespace: concurrency

See Also

Reference

cancellation_token_source Class