get_IsCancellationRequested()

CancellationTokenSource::get_IsCancellationRequested() const method

Gets whether cancellation has been requested.

bool System::Threading::CancellationTokenSource::get_IsCancellationRequested() const

Return Value

true if Cancel() has been called, false otherwise.

See Also