ApplicationLifecycle Members

This class represents a platform agnostic management interface to application lifecycle events.

The following tables list the members exposed by the ApplicationLifecycle type.

Protected Constructors

  Name Description
  ApplicationLifecycle Initializes a new instance of the ApplicationLifecycle class.


Public Properties

  Name Description
public property static Service Gets the singleton instance for our management object.


Public Methods

(see also Protected Methods)

  Name Description
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public methodstatic SetProvider Initializes the current management interface with a platform specific provider.
public method ToString  (Inherited from Object)


Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method Initialize Intercepts platform specific events and hooks them up to our platform agnostic events.
protected method MemberwiseClone  (Inherited from Object)
protected method OnStarted Raises the Started event.
protected method OnStopping Raises the Stopping event.


Public Events

  Name Description
public event Started Occurs when a new instance of the application is started or an existing instance is activated.
public event Stopping Occurs when the application is suspending or closing.


See Also


ApplicationLifecycle Class
Microsoft.ApplicationInsights.Extensibility Namespace