| ThreadWithDispatcherJoin Method (TimeSpan) |
Blocks the calling thread until the
Dispatcher terminates.
Namespace:
TomsToolbox.Wpf
Assembly:
TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax public bool Join(
TimeSpan timeout
)
Public Function Join (
timeout As TimeSpan
) As Boolean
Parameters
- timeout
- Type: SystemTimeSpan
The timeout.
Return Value
Type:
Boolean
true if the thread terminated; false if the thread has not terminated after the amount of time specified by the
timeout parameter has elapsed.
See Also