Click or drag to resize

BasicThreadPostAction Method

Dispatches an asynchronous action to a BasicThread's context.

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
public void PostAction(
	Action<BasicNoUIObj> action,
	Action<Exception> completed = null
)

Parameters

action  ActionBasicNoUIObj
Action<BasicNoUIObj> delegate called in BasicThread's context. The basic object passed to the delegate is the BasicNoUIObj managed by the thread/context.
completed  ActionException  (Optional)
Action<Exception> delegate called in caller's context when the action completes. The exception passed to the delegate is Null if no exception occurred.
Remarks
This call executes asynchronously.
See Also