Share via


Thread.Join Method (Int32)

Blocks the calling thread until the current thread terminates or until a specified amount of time elapses.

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)

Syntax

[MethodImplAttribute]
public bool Join (
         intmillisecondsTimeout
)

Parameters

  • millisecondsTimeout
    The number of milliseconds you want the system to wait for the thread to terminate.

Return Value

true if the current thread has terminated; false if the thread has not terminated after the amount of time specified in the millisecondsTimeout parameter has elapsed.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

Thread Class
Thread Members
System.Threading Namespace