DispatcherExtensions.DelayAsync

Dispatcher.Delay Extension method that delay executes an action. This version awaits both the delay and the synchonized 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


See also:

Class DispatcherExtensions

© West Wind Technologies, 2019 • Updated: 01/06/19
Comment or report problem with topic