Click or drag to resize
Cimbalino ToolkitDispatcherServiceInvokeOnUiThreadAsync Method (FuncTask)
Runs the event dispatcher and awaits for it to complete before returning the results for dispatched events asynchronously.

Namespace: Cimbalino.Toolkit.Services
Assembly: Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
C#
public Task InvokeOnUiThreadAsync(
	Func<Task> asyncAction
)

Parameters

asyncAction
Type: SystemFuncTask
The async action to call.

Return Value

Type: Task
The Task object representing the asynchronous operation.

Implements

IDispatcherServiceInvokeOnUiThreadAsync(FuncTask)
Version Information

Windows

Supported in: 10.0, 8.1

Windows Phone

Supported in: 8.1

Windows Phone Silverlight

Supported in: 8.1, 8.0
See Also