Click or drag to resize

IDispatcherMessageLoopInvokeAsync(Action) Method

Invokes the specified callback on the message loop.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
Task InvokeAsync(
	Action callback
)

Parameters

callback  Action
The callback to execute.

Return Value

Task
Returns a task that is signalled when the execution of the callback is completed.
Remarks
If the callback method causes an exception; the exception gets stored in the task object.
See Also