Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a cancellation_token associated with this source.
cancellation_token get_token() const;
Return Value
A cancellation token associated with this source.
Remarks
You can poll the returned token for cancellation or provide a callback to be invoked when cancellation occurs.
For more information, see cancellation_token Class.
Requirements
Header: ppl.h
Namespace: concurrency