get_CanBeCanceled()
CancellationToken::get_CanBeCanceled() const method
Gets whether this token is capable of being in the canceled state.
bool System::Threading::CancellationToken::get_CanBeCanceled() const
Return Value
true if this token is capable of being in the canceled state; otherwise, false.
Remarks
Tokens created from CancellationTokenSource will return true, while the None token will always return false.
See Also
- Class CancellationToken
- Namespace System::Threading
- Library Aspose.Slides