task_options::set_cancellation_token Method

Sets the given token in the options

void set_cancellation_token(
   cancellation_token _Token
);

Parameters

  • _Token

Requirements

Header: pplxtasks.h

Namespace: pplx

See Also

Reference

task_options Class