System::Threading::CancellationToken::get_CanBeCanceled method
CancellationToken::get_CanBeCanceled method
Gets whether this token is capable of being in the canceled state.
bool System::Threading::CancellationToken::get_CanBeCanceled() const
ReturnValue
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.PDF for C++