ApplicationLifecycle Class
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.
This class represents a platform agnostic management interface to application lifecycle events.
public ref class ApplicationLifecycle : Microsoft::VisualStudio::ApplicationInsights::Extensibility::IApplicationLifecycle
public class ApplicationLifecycle : Microsoft.VisualStudio.ApplicationInsights.Extensibility.IApplicationLifecycle
type ApplicationLifecycle = class
interface IApplicationLifecycle
Public Class ApplicationLifecycle
Implements IApplicationLifecycle
- Inheritance
-
ApplicationLifecycle
- Implements
Constructors
ApplicationLifecycle() |
Initializes a new instance of the ApplicationLifecycle class. |
Properties
Service |
Gets the singleton instance for our management object. |
Methods
SetProvider(IApplicationLifecycle) |
Initializes the current management interface with a platform specific provider. |
Events
Started |
Occurs when a new instance of the application is started or an existing instance is activated. |
Stopping |
Occurs when the application is suspending or closing. |