Click or drag to resize

ThreadWithDispatcherInvoke Method (Action)

Invokes the specified method in the dispatcher thread.

Namespace:  TomsToolbox.Wpf
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax
public void Invoke(
	Action method
)

Parameters

method
Type: SystemAction
The method.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe dispatcher has already shut down.
Remarks
Exceptions thrown by method are passed back to the caller and are not wrapped into a TargetInvocationException.
See Also