IApplicationLifetimeAware.Starting Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Called by an application immediately before the Application.Startup event occurs.
Assembly: System.Windows (in System.Windows.dll)
This method enables your service to initialize any resources that are required in an application Startup event handler. This method can also access any resources initialized by other services in their IApplicationService.StartService methods, regardless of the service registration sequence.