private void updateUserLocation() { string phoneId = myPhone.serializedDeviceUniqueId(); WebService1SoapClient webService = new WebService1SoapClient(); Thread thread = new Thread(new ThreadStart((Action)(() => { while (true) { Thread.Sleep(1000); webService.updateLoctionForUserAsync(phoneId, myGPS.actualLocation.Position.Location.Latitude, myGPS.actualLocation.Position.Location.Longitude); } }))); thread.Start(); }