ThreadHelper.BeginInvoke Method (DispatcherPriority, Action)

 

Schedules an action for execution on the UI thread asynchronously.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

Public Sub BeginInvoke (
	priority As DispatcherPriority,
	action As Action
)

Parameters

priority
Type: System.Windows.Threading.DispatcherPriority

The priority at which to run the action.

action
Type: System.Action

The action to run.

Return to top
Show: