| ThreadWithDispatcherInvokeT Method (FuncT) |
Invokes the specified method in the dispatcher thread.
Namespace:
TomsToolbox.Wpf
Assembly:
TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax public T Invoke<T>(
Func<T> method
)
Public Function Invoke(Of T) (
method As Func(Of T)
) As T
Parameters
- method
- Type: SystemFuncT
The method.
Type Parameters
- T
- The return type of the method.
Return Value
Type:
TThe result of the method.
Exceptions Remarks See Also