LogicalThreadOperation(LogicalThread, Action, Int32, Boolean) Constructor

Creates a new instance of the LogicalThreadOperation class.

Definition

Namespace: Gemstone.Threading.LogicalThreads
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.166 -- Release Build+55b93eb16d4a5b73f01a183dc992e29d98627d25
public LogicalThreadOperation(
	LogicalThread thread,
	Action action,
	int priority,
	bool autoRunIfPending = true
)

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

ArgumentExceptionpriority is outside the range between 1 and PriorityLevels.

See Also