![]() ![]() | ||
The Thread class supports threads in Visual Basic. Here is the inheritance hierarchy for this class:
Object Thread
You can find the notable public properties of Thread objects in Table 24.10 and their notable public methods in Table 24.11. (This class has no non-inherited events.)
Property |
Means |
---|---|
IsAlive |
Indicates if the thread has been started and is alive. |
IsBackground |
Gets/sets whether or not this is a background thread. |
Name |
Gets/sets the thread's name. |
Priority |
Gets/sets the thread's priority. |
ThreadState |
Gets the thread's state. |
Method |
Means |
---|---|
Abort |
Aborts the thread. |
Interrupt |
Interrupts threads in the WaitSleepJoin state. |
Join |
Waits for a thread to complete. |
Resume |
Resumes thread execution for threads that have been suspended. |
Start |
Begins execution of the thread. |
Suspend |
Suspends thread execution. |
![]() ![]() | ||