Aborts the thread.

Namespace:  SGP.XUtility
Assembly:  SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718

Syntax

C#
bool Abort(
	int millisecondsTimeout
)

Parameters

millisecondsTimeout
Type: System..::.Int32
Duration in miliseconds.

Return Value

trueTruetruetrue (True in Visual Basic) if the thread was terminated.

Remarks

The method is trying to abort the thread during timeout millisecondsTimeout. The thread must during timeout call CheckAbort()()(), to be terminated. If is not possible to abort, the method returns falseFalsefalsefalse (False in Visual Basic).

See Also