ActionsPane.BeginInvoke Method

Definition

Executes a delegate asynchronously on the thread that the actions pane control's underlying handle was created on.

Overloads

BeginInvoke(Delegate)

Executes the specified delegate asynchronously on the thread that the actions pane control's underlying handle was created on.

BeginInvoke(Delegate, Object[])

Executes the specified delegate asynchronously with the specified arguments, on the thread that the actions pane control's underlying handle was created on.

Remarks

This method provides the same functionality as the System.Windows.Forms.Control.BeginInvoke method. For more information about using this method, see System.Windows.Forms.Control.BeginInvoke.

BeginInvoke(Delegate)

Executes the specified delegate asynchronously on the thread that the actions pane control's underlying handle was created on.

public:
 IAsyncResult ^ BeginInvoke(Delegate ^ method);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public IAsyncResult BeginInvoke (Delegate method);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)>]
abstract member BeginInvoke : Delegate -> IAsyncResult
Public Function BeginInvoke (method As Delegate) As IAsyncResult

Parameters

method
Delegate

A delegate to a method that takes no parameters.

Returns

The result of the BeginInvoke(Delegate) operation.

Attributes

Remarks

This method provides the same functionality as the System.Windows.Forms.Control.BeginInvoke(Delegate) method. For more information about using this method, see System.Windows.Forms.Control.BeginInvoke(Delegate).

Applies to

BeginInvoke(Delegate, Object[])

Executes the specified delegate asynchronously with the specified arguments, on the thread that the actions pane control's underlying handle was created on.

public:
 IAsyncResult ^ BeginInvoke(Delegate ^ method, cli::array <System::Object ^> ^ args);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public IAsyncResult BeginInvoke (Delegate method, object[] args);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)>]
abstract member BeginInvoke : Delegate * obj[] -> IAsyncResult
Public Function BeginInvoke (method As Delegate, args As Object()) As IAsyncResult

Parameters

method
Delegate

A delegate to a method that takes parameters of the same number and type that are contained in the args parameter.

args
Object[]

An array of objects to pass as arguments to the given method. This can be null if no arguments are needed.

Returns

The result of the BeginInvoke(Delegate, Object[]) operation.

Attributes

Remarks

This method provides the same functionality as the System.Windows.Forms.Control.BeginInvoke(Delegate, Object[]) method. For more information about using this method, see System.Windows.Forms.Control.BeginInvoke(Delegate, Object[]).

Applies to