Dispatcher.BeginInvoke Method (Delegate, Object())

July 28, 2014

Executes the specified delegate asynchronously with the specified array of arguments on the thread the Dispatcher is associated with.

Namespace:  System.Windows.Threading
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.DispatcherOperation
An object, which is returned immediately after BeginInvoke is called, that represents the operation that has been posted to the Dispatcher queue.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft