Thetype exposes the following members.
Checks if the control is already shutting down.
Max lock wait time.
Task that resolves when shutdown is fully completed.
Token that is canceled when the control begins to shutdown.
Throws if the current thread isn't holding any type of lock.
Throws if the control is already shutting down.
Throws if the current thread doesn't hold a write lock.
Triggered when the ShutdownToken is canceled.
Dispose the object.
Enter the lock in read mode.
Enter the lock in write mode.
Exit the currently held read lock.
Exit the currently held write lock.
Triggered after all shutdown operations have completed.
Starts the shutdown process, if it hasn't already begun.