Click or drag to resize

AbortableJoin(Int32) Methode

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

Namensraum: NetEti.ApplicationControl
Assembly: NetEti.ProcessTools (in NetEti.ProcessTools.dll) Version: 1.0.0+6e6ab0c4fed8e24cd32ff9136ecb6b264898a6a9
Syntax
public bool Join(
	int millisecondsTimeout
)

Parameter

millisecondsTimeout  Int32
Timeout in milliseconds

Rückgabewert

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.
Ausnahmen
AusnahmeBedingung
ArgumentExceptionif timeout < -1 (Timeout.Infinite)
ThreadInterruptedExceptionif the thread is interrupted while waiting
ThreadStateExceptionif the thread has not been started yet
Siehe auch