DispatcherExtensions.DelayAsync

Dispatcher.Delay Extension method that delay executes an action. This version awaits both the delay and the synchronized action

public static Task DelayAsync(Dispatcher disp,
	int delayMs,
	Action<Object> action,
	object parm,
	DispatcherPriority priority)

Parameters

disp
The Dispatcher instance

delayMs
milliseconds to delay before executing

action
Single parm action to perform ; (arg) =>

parm
The parameter to pass

priority
optional Dispatcher priority

Overloads:


See also:

Class DispatcherExtensions

© West Wind Technologies, 2016-2023 • Updated: 11/23/21
Comment or report problem with topic