| ThreadWithDispatcherBeginInvoke Method (DispatcherPriority, Action) |
Invokes the specified method asynchronously in the dispatcher thread.
Namespace:
TomsToolbox.Wpf
Assembly:
TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax public DispatcherOperation BeginInvoke(
DispatcherPriority priority,
Action method
)
Public Function BeginInvoke (
priority As DispatcherPriority,
method As Action
) As DispatcherOperation
Parameters
- priority
- Type: System.Windows.ThreadingDispatcherPriority
The priority to use. - method
- Type: SystemAction
The method.
Return Value
Type:
DispatcherOperationThe dispatcher operation to track the outcome of the call.
Exceptions See Also