task_options::has_cancellation_token Method (Concurrency Runtime)

Indicates whether a cancellation token was specified by the user

bool has_cancellation_token() const;

Requirements

Header: ppltasks.h

Namespace: concurrency

See Also

Reference

task_options Class (Concurrency Runtime)