DispatcherExtensions.Invoke Method

Executes the specified delegate synchronously on the thread that the specified Dispatcher was created on.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Invoke(Dispatcher, Action) Executes the specified delegate synchronously with normal priority on the thread that the specified Dispatcher was created on.
Public method Static member Invoke(Dispatcher, Action, TimeSpan) Executes the specified delegate synchronously on the thread that the specified Dispatcher was created on, and stops execution after the specified time-out period.
Public method Static member Invoke(Dispatcher, Action, DispatcherPriority) Executes the specified delegate synchronously with the specified priority on the thread that the specified Dispatcher was created on.
Public method Static member Invoke(Dispatcher, Action, TimeSpan, DispatcherPriority) Executes the specified delegate synchronously with the specified priority on the thread that the specified Dispatcher was created on, and stops execution after the specified time-out period.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft