Click or drag to resize

WindowsUtilitiesDoModelessAsyncT Method (FuncT)

Runs a function in a modeless UI loop.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static Task<T> DoModelessAsync<T>(
	Func<T> func
)

Parameters

func
Type: SystemFuncT
The function.

Type Parameters

T
The function return type.

Return Value

Type: TaskT
The result of the func() call.
Exceptions
ExceptionCondition
ArgumentNullExceptionfunc is null
See Also