Click or drag to resize

ThreadWithDispatcher Methods

The ThreadWithDispatcher type exposes the following members.

Methods
 NameDescription
Public methodAbortObsolete.
Aborts this instance.
Public methodBeginInvoke(Action) Invokes the specified method asynchronously in the dispatcher thread.
Public methodBeginInvoke(DispatcherPriority, Action) Invokes the specified method asynchronously in the dispatcher thread.
Public methodBeginShutdown Initiates shutdown of the Dispatcher asynchronously.
Public methodCheckAccess Determines whether the calling thread is the thread associated with this Dispatcher.
Public methodInvoke(Action) Invokes the specified method in the dispatcher thread.
Public methodInvokeT(FuncT) Invokes the specified method in the dispatcher thread.
Public methodJoin Blocks the calling thread until the Dispatcher terminates.
Public methodJoin(TimeSpan) Blocks the calling thread until the Dispatcher terminates.
Public methodVerifyAccess Determines whether the calling thread has access to this Dispatcher.
Top
Extension Methods
 NameDescription
Public Extension MethodSafeCastT Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions)
Top
See Also