Click or drag to resize

LogicalThreadOperation(LogicalThread, Action, Int32, Boolean) Constructor

Creates a new instance of the LogicalThreadOperation class.

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.260-beta+0f4e919571e6ec7e8e07a8e325416284b7e38fa3
Syntax
public LogicalThreadOperation(
	LogicalThread thread,
	Action action,
	int priority,
	bool autoRunIfPending = true
)
View Source

Parameters

thread  LogicalThread
The thread on which to execute the operation's action.
action  Action
The action to be executed.
priority  Int32
The priority with which the action should be executed on the logical thread.
autoRunIfPending  Boolean  (Optional)
Set to true to execute RunIfPending automatically; otherwise, set to false for user controlled call timing.
Exceptions
ExceptionCondition
ArgumentExceptionpriority is outside the range between 1 and PriorityLevels.
See Also