次の方法で共有


ApplicationLifecycle Class

Definition

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.

Applies to