DelayedSynchronizedOperationTryRun Method

Attempts to execute the action on another thread after the specified Delay in milliseconds. Does nothing if the operation is already running. Method same as TryRunAsync 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 TryRun(
	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.

Exceptions

InvalidOperationExceptionrunPendingSynchronously must be false for DelayedSynchronizedOperation.

See Also