LogicalThreadOperationExecuteAction Method
Executes an action once on the current thread.
Namespace: Gemstone.Threading.LogicalThreadsAssembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.166 -- Release Build+55b93eb16d4a5b73f01a183dc992e29d98627d25
public void ExecuteAction(
Action action
)
Public Sub ExecuteAction (
action As Action
)
public:
void ExecuteAction(
Action^ action
)
function ExecuteAction(action);
Parameters
- action Action
- Action to run on current thread.
This method provides exception handling for the action passed into this
method with a couple of guarantees. The first is that regardless of what
thread is executing the action passed into this method, the exception
will be raised on the thread that the logical operation runs on. The
second is that the RunIfPending method will be called if an exception
does occur in the given action.