task_options::set_cancellation_token Method (Concurrency Runtime)
Sets the given token in the options
void set_cancellation_token(
cancellation_token _Token
);
Parameters
- _Token
Requirements
Header: ppltasks.h
Namespace: concurrency
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Sets the given token in the options
void set_cancellation_token(
cancellation_token _Token
);
Header: ppltasks.h
Namespace: concurrency