Blocks the calling thread until a thread terminates, while continuing to perform standard COM and SendMessage pumping.
Type Reason System.Threading.ThreadStateException The caller attempted to join a thread that is in the ThreadState.Unstarted state.
Use this method to ensure a thread has terminated. The caller will block indefinitely if the thread does not terminate. If the thread has already terminated when erload:System.Threading.Thread.Join is called, the method returns immediately.