ThreadMethod.Wait Method

Tungsten Suite

ThreadMethodWait Method

Waits a specified number of milliseconds for the thread to complete

Namespace:  W.Threading
Assembly:  Tungsten.Threading (in Tungsten.Threading.dll) Version: 2.0.1
Syntax
C#
public bool Wait(
	int msTimeout = -1
)

Parameters

msTimeout (Optional)
Type: SystemInt32
The number of milliseconds to wait for the thread to complete. A value of -1 indicates an infinite wait period.

Return Value

Type: Boolean
True if the thread completes within the timeout period, otherwise False
See Also