Compartilhar via


ThreadHelper.BeginInvoke Method (Action)

Schedules an action for execution on the UI thread asynchronously.

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

Syntax

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

Parameters

  • action
    Type: Action

    The action to run.

.NET Framework Security

See Also

Reference

ThreadHelper Class

BeginInvoke Overload

Microsoft.VisualStudio.Shell Namespace