Compartilhar via


ThreadHelper.Invoke Method

Include Protected Members
Include Inherited Members

Calls the action on the UI thread.

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

Overload List

  Name Description
Public method Invoke(Action) Calls an action on the UI thread, re-entering (if necessary) any code already executing on the UI thread.
Public method Invoke<TResult>(Func{) Evaluates a function on the UI thread.

Top

See Also

Reference

ThreadHelper Class

Microsoft.VisualStudio.Shell Namespace