System.Threading.ITask.CheckCanceled
Delphi
procedure CheckCanceled;
C++
virtual void __fastcall CheckCanceled() = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Threading.pas System.Threading.hpp |
System.Threading | ITask |
Description
CheckCanceled allows you to check if an operation is canceled.
CheckCanceled is expected to raise an EOperationCancelled when the associated task has been canceled, otherwise the execution will proceed to the next statement.