ActionsPane.BeginInvoke Method (Delegate, array<Object )
Executes the specified delegate asynchronously with the specified arguments, on the thread that the actions pane control's underlying handle was created on.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Function BeginInvoke ( _
method As Delegate, _
args As Object() _
) As IAsyncResult
IAsyncResult BeginInvoke(
Delegate method,
Object[] args
)
Parameters
method
Type: System.DelegateA delegate to a method that takes parameters of the same number and type that are contained in the args parameter.
args
Type: array<System.Object[]An array of objects to pass as arguments to the given method. This can be nulla null reference (Nothing in Visual Basic) if no arguments are needed.
Return Value
Type: System.IAsyncResult
The result of the BeginInvoke(Delegate, array<Object[]) operation.
Remarks
This method provides the same functionality as the Control.BeginInvoke(Delegate, array<Object[]) method. For more information about using this method, see Control.BeginInvoke(Delegate, array<Object[]).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools Namespace