Thread.Join Method (TimeSpan)
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 (
TimeSpantimeout
)
Parameters
- timeout
A TimeSpan object set to the amount of time 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