Click or drag to resize

Stoppable Methods

The Stoppable type exposes the following members.

Protected methodAssertLockHeld
Throws if the current thread isn't holding any type of lock.
Protected methodAssertNotShuttingDown
Throws if the control is already shutting down.
Protected methodAssertWriteLockHeld
Throws if the current thread doesn't hold a write lock.
Protected methodBeginShutdownAsync
Triggered when the ShutdownToken is canceled.
Public methodDispose
Dispose the object.
Protected methodDispose(Boolean)
Dispose implementation.
Protected methodEnterReadLock
Enter the lock in read mode.
Protected methodEnterWriteLock
Enter the lock in write mode.
Protected methodExitReadLock
Exit the currently held read lock.
Protected methodExitWriteLock
Exit the currently held write lock.
Protected methodOnShutdownCompleted
Triggered after all shutdown operations have completed.
Public methodShutdownAsync
Starts the shutdown process, if it hasn't already begun.
See Also