![]() | Foreground |
The ForegroundThreadWithDispatcher type exposes the following members.
Name | Description | |
---|---|---|
![]() | Abort | Obsolete. Aborts this instance. (Inherited from ThreadWithDispatcher) |
![]() | BeginInvoke(Action) |
Invokes the specified method asynchronously in the dispatcher thread.
(Inherited from ThreadWithDispatcher) |
![]() | BeginInvoke(DispatcherPriority, Action) |
Invokes the specified method asynchronously in the dispatcher thread.
(Inherited from ThreadWithDispatcher) |
![]() | BeginShutdown |
Initiates shutdown of the Dispatcher asynchronously.
(Inherited from ThreadWithDispatcher) |
![]() | CheckAccess |
Determines whether the calling thread is the thread associated with this Dispatcher.
(Inherited from ThreadWithDispatcher) |
![]() | Dispose | Shut down the dispatcher and wait for the thread to terminate. |
![]() | Finalize |
Finalizes an instance of the ForegroundThreadWithDispatcher class.
(Overrides ObjectFinalize) |
![]() | Invoke(Action) |
Invokes the specified method in the dispatcher thread.
(Inherited from ThreadWithDispatcher) |
![]() | InvokeT(FuncT) |
Invokes the specified method in the dispatcher thread.
(Inherited from ThreadWithDispatcher) |
![]() | Join |
Blocks the calling thread until the Dispatcher terminates.
(Inherited from ThreadWithDispatcher) |
![]() | Join(TimeSpan) |
Blocks the calling thread until the Dispatcher terminates.
(Inherited from ThreadWithDispatcher) |
![]() | VerifyAccess |
Determines whether the calling thread has access to this Dispatcher.
(Inherited from ThreadWithDispatcher) |
Name | Description | |
---|---|---|
![]() ![]() | ReportNotDisposedObject |
Handle reporting of a not disposed object.
Using this pattern is a good practice to avoid code where disposable objects get never disposed.
Calling this method will raise the NotDisposedObject event if any event handler is attached;
otherwise it will throw an InvalidOperationException if a debugger is attached.
If the application does not run in a debugger and no event handler is attached, calling this method does nothing.
(Defined by Disposable) |
![]() | SafeCastT |
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions) |