Thread |
The ThreadWithDispatcher type exposes the following members.
Name | Description | |
---|---|---|
ThreadWithDispatcher | Initializes a new instance of the ThreadWithDispatcher class. |
Name | Description | |
---|---|---|
Dispatcher | Gets the dispatcher of the thread. | |
TaskScheduler | Gets the task scheduler associated with the Dispatcher |
Name | Description | |
---|---|---|
Abort | Obsolete. Aborts this instance. | |
BeginInvoke(Action) | Invokes the specified method asynchronously in the dispatcher thread. | |
BeginInvoke(DispatcherPriority, Action) | Invokes the specified method asynchronously in the dispatcher thread. | |
BeginShutdown | Initiates shutdown of the Dispatcher asynchronously. | |
CheckAccess | Determines whether the calling thread is the thread associated with this Dispatcher. | |
Invoke(Action) | Invokes the specified method in the dispatcher thread. | |
InvokeT(FuncT) | Invokes the specified method in the dispatcher thread. | |
Join | Blocks the calling thread until the Dispatcher terminates. | |
Join(TimeSpan) | Blocks the calling thread until the Dispatcher terminates. | |
VerifyAccess | Determines whether the calling thread has access to this Dispatcher. |
Name | Description | |
---|---|---|
Terminated | Occurs when the dispatcher is terminated. |
Name | Description | |
---|---|---|
SafeCastT |
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions) |