DelayedSynchronizedOperationRun Method

Executes the action on another thread after the specified Delay in milliseconds or marks the operation as pending if the operation is already running. Method same as RunAsync for DelayedSynchronizedOperation.

Definition

Namespace: Gemstone.Threading.SynchronizedOperations
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.110 -- Release Build+13c244059615c58a533059438f38d7e59ef0c2ea
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public void Run(
	bool runPendingSynchronously = false
)

Parameters

runPendingSynchronously  Boolean  (Optional)
Defines synchronization mode for running any pending operation; must be false for DelayedSynchronizedOperation.

Remarks

For DelayedSynchronizedOperation, actions will always run on another thread so this method is hidden from intellisense.

When the operation is marked as pending, it will run again after the operation that is currently running has completed. This is useful if an update has invalidated the operation that is currently running and will therefore need to be run again.

Exceptions

InvalidOperationExceptionrunPendingSynchronously must be false for DelayedSynchronizedOperation.

See Also