Westwind Utilities
AsyncUtils.DelayExecution
Table of Contents
On this page:

AsyncUtils.DelayExecution

public static void DelayExecution(int delayMs, Action action, 
			Action<Exception> errorHandler)

Parameters

delayMs
delay in Milliseconds

action
Action to execute after delay

errorHandler

Remarks

Code is executed on a background thread, so if UI code is executed make sure you marshal back to the UI thread using a Dispatcher or Control.Invoke().

Overloads

public static void DelayExecution<T>(int delayMs, Action<T> action, T parm, Action<Exception> errorHandler)

© West Wind Technologies, 2026 • updated: Jan 30, 2026
Comment or report problem with topic