procedure Cancel;
Description
Issues a cancellation request.
The Cancel method is commonly called in a thread different from the thread where a cancelable operation is running and listening for a cancellation request. When a cancellation request is received, the operation is stopped, and an exception is generated in the thread where the operation was running. The method does not generate any exceptions, and returns control to the program once the cancellation flag is set, without waiting for the operation cancellation.
See Also