共用方式為


cancellation_token::is_cancelable Method

Returns an indication of whether this token can be canceled or not.

bool is_cancelable() const;

Return Value

An indication of whether this token can be canceled or not.

Requirements

Header: pplcancellation_token.h

Namespace: concurrency

See Also

Reference

cancellation_token Class