Dispatcher.BeginInvoke Method (Action)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Executes the specified delegate asynchronously on the thread the Dispatcher is associated with.
Namespace: System.Windows.Threading
Assembly: System.Windows (in System.Windows.dll)
Syntax
Public Function BeginInvoke ( _
a As Action _
) As DispatcherOperation
public DispatcherOperation BeginInvoke(
Action a
)
Parameters
- a
Type: System..::.Action
A delegate to a method that takes no arguments and does not return a value, which is pushed onto the Dispatcher event queue.
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.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone