Click or drag to resize

WindowsUtilitiesDoModelessAsyncT Method (FuncT)

Runs a function in a modeless UI loop.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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