Join Method (Int32)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Blocks the calling thread until a thread terminates or the specified time elapses, while continuing to perform standard COM and SendMessage pumping.
Assembly: mscorlib (in mscorlib.dll)
- Type: System..::..Int32
The number of milliseconds to wait for the thread to terminate.
Return ValueType: System..::..Boolean
true if the thread has terminated; false if the thread has not terminated after the amount of time specified by the millisecondsTimeout parameter has elapsed.
If the thread has already terminated when Join is called, the method returns immediately.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.