Click or drag to resize

WindowsUtilitiesDoModalUIT Method (FuncT)

Runs a function in a modal UI loop.

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

Parameters

func
Type: SystemFuncT
The function.

Type Parameters

T
The function return type.

Return Value

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