Click or drag to resize

ManagedThreadsCancel Method

Removes a queued thread from thread pool if still queued, if allowAbort is True aborts the thread if executing (standard or queued)

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public static void Cancel(
	ManagedThread item,
	bool allowAbort,
	Object stateInfo
)
View Source

Parameters

item  ManagedThread
Thread to cancel
allowAbort  Boolean
Set to True to abort thread if executing
stateInfo  Object
An object that contains application-specific information, such as state, which can be used by the thread being aborted.
See Also