ILifecycleObserver Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lifecycle observer used to handle start and stop notification.
public interface ILifecycleObserver
type ILifecycleObserver = interface
Public Interface ILifecycleObserver
- Derived
Methods
OnStart(CancellationToken) |
Handle start notifications. |
OnStop(CancellationToken) |
Handle stop notifications. |
Extension Methods
OnStart(ILifecycleObserver) | |
OnStop(ILifecycleObserver) |