BasicThreadPostAction Method |
Dispatches an asynchronous action to a BasicThread's context.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic void PostAction(
Action<BasicNoUIObj> action,
Action<Exception> completed = null
)
Public Sub PostAction (
action As Action(Of BasicNoUIObj),
Optional completed As Action(Of Exception) = Nothing
)
public:
void PostAction(
Action<BasicNoUIObj^>^ action,
Action<Exception^>^ completed = nullptr
)
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