onApplicationBackground

The on method collects data when the PhoneApplicationService.Deactivated event is raised.