System.Threading.ITask.CheckCanceled

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also