Application.ApplicationLifetimeObjects Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the application extension services that have been registered for this application.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
Application extension services let you extend theWindows Phone application model without requiring specialized Application subclasses. Applications can continue to inherit the Application class directly, and can add extensions by populating the ApplicationLifetimeObjects list. Applications can do this in the class constructor or in the application XAML.
Application extension services implement the IApplicationService interface and optionally the IApplicationLifetimeAware interface. These interfaces define access points to the application lifetime events.
The order of the services in the ApplicationLifetimeObjects list dictates the order in which the services are initialized. This is also the order in which the services receive application lifetime event notifications. The services are shut down in the opposite order. The guaranteed ordering enables services to fulfill complex dependencies in the application and in other services.