Partager via


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

See Also

Reference

task_options Class (Concurrency Runtime)