onApplicationTerminate

The onApplicationTerminate method collects data when the PhoneApplicationService.Closing event is raised.