Click or drag to resize

AbortableJoin(Int32) Method

Waits for the thread to die or for timeout milliseconds to elapse.

Namespace: NetEti.ApplicationControl
Assembly: NetEti.ProcessTools (in NetEti.ProcessTools.dll) Version: 1.0.0+3226eb04384bdec34e8eaa040302e1906383a7b4
Syntax
public bool Join(
	
	int millisecondsTimeout
)

Parameters

millisecondsTimeout  Int32
Timeout in milliseconds

Return value

Boolean
Returns true if the thread died, or false if the wait timed out. If -1 is given as the parameter, no timeout will occur.
Exceptions
ExceptionCondition
ArgumentExceptionif timeout < -1 (Timeout.Infinite)
ThreadInterruptedExceptionif the thread is interrupted while waiting
ThreadStateExceptionif the thread has not been started yet
See also