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.181-beta
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