There are two major differences:
- The
Task.Delay
approach will delay the specified amount of time between cycles, while theDispatcherTimer
approach will start a new cycle on the specified cycle time. Task.Delay
is more portable, since it does not depend on a type tied to a specific UI.