Waits for a thread to die.
[Visual Basic] Overloads Public Sub Join() [C#] public void Join(); [C++] public: void Join(); [JScript] public function Join();
Exception Type | Condition |
---|---|
ThreadStateException | The thread has not been started. |
ThreadInterruptedException | The thread is interrupted while waiting. |
SecurityException | The caller does not have the appropriate SecurityPermission. |
[To be supplied.]
Thread Class | Thread Members | System.Threading Namespace | Thread.Join Overload List