This item was deprecated in version 2019r2. Please use Thread.Pause as a replacement.
Puts the thread in a suspended state. Every call to Suspend must be matched by a call to Resume.
The thread will not be allocated any processing cycles, regardless of its assigned Priority. It is “asleep.” To wake it up, call the Resume method. If the thread is executing when you call Suspend, it will immediately cause a context switch.
This example calls Suspend, followed by a call to Resume after other code has executed.
' do something else here...
All project types on all supported operating systems.