Dispatcher.BeginInvoke Method (Delegate, Object())
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Executes the specified delegate asynchronously with the specified array of arguments on the thread the Dispatcher is associated with.
Assembly: System.Windows (in System.Windows.dll)
'Declaration Public Function BeginInvoke ( _ d As Delegate, _ ParamArray args As Object() _ ) As DispatcherOperation
Parameters
- d
- Type: System.Delegate
A delegate to a method that takes multiple arguments, which is pushed onto the Dispatcher event queue.
- args
- Type:
System.Object
()
An array of objects to pass as arguments to the specified method.
Return Value
Type: System.Windows.Threading.DispatcherOperationAn object, which is returned immediately after BeginInvoke is called, that represents the operation that has been posted to the Dispatcher queue.
Show: