Share via


ThreadHelper.BeginInvoke Method (DispatcherPriority, Action)

Schedules an action for execution on the UI thread asynchronously.

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

Syntax

'Declaration
Public Sub BeginInvoke ( _
    priority As DispatcherPriority, _
    action As Action _
)
public void BeginInvoke(
    DispatcherPriority priority,
    Action action
)
public:
void BeginInvoke(
    DispatcherPriority priority, 
    Action^ action
)
member BeginInvoke : 
        priority:DispatcherPriority * 
        action:Action -> unit
public function BeginInvoke(
    priority : DispatcherPriority, 
    action : Action
)

Parameters

.NET Framework Security

See Also

Reference

ThreadHelper Class

BeginInvoke Overload

Microsoft.VisualStudio.Shell Namespace