Click or drag to resize

LogicalThreadPush(Int32, Action) Method

Pushes an action to the logical thread.

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public void Push(
	int priority,
	Action action
)
View Source

Parameters

priority  Int32
The priority the action should be given when executing actions on the thread (higher numbers have higher priority).
action  Action
The action to be executed on this thread.
Exceptions
ExceptionCondition
ArgumentExceptionpriority is outside the range between 1 and PriorityLevels.
See Also