Abort;
Abort();
The Abort method finishes thread execution.
When the Abort method is called, the custom method that was executed in the thread is stopped. Be careful when calling the Abort method because it may result in the loss of the data used in the thread.
See also: