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.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
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