Click or drag to resize
TaskExtensionsUISafeWait Method (FuncTask)
Blocks and waits for a task to complete in a way that will not deadlock the UI thread.

Namespace: Microsoft.IoT.DeviceHelpers
Assembly: Microsoft.IoT.DeviceHelpers (in Microsoft.IoT.DeviceHelpers.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void UISafeWait(
	Func<Task> taskFunction
)

Parameters

taskFunction
Type: SystemFuncTask
A function that returns the task to wait on.
See Also