xtd
0.2.0
Loading...
Searching...
No Matches
◆
cancellation_token()
xtd::threading::cancellation_token::cancellation_token
(
bool
canceled
)
Initializes the
xtd::threading::cancellation_token
.
Parameters
canceled
The canceled state for the token.
Remarks
Tokens created with this constructor will remain in the canceled state specified by the canceled parameter. If canceled is false, both
xtd::threading::cancellation_token::can_be_canceled
and
xtd::threading::cancellation_token::is_cancellation_requested
will be false.
If canceled is true, both
xtd::threading::cancellation_token::can_be_canceled
and
xtd::threading::cancellation_token::is_cancellation_requested
will be true.
xtd
threading
cancellation_token
Generated on Sat Sep 14 2024 21:25:31 for xtd by
Gammasoft
. All rights reserved.