Hi i implemented Windows Phone 8.1 Silver Light application Background scheduler using below link.
The scheduler is working fine but when i call Async method it is not pining with server.
Here this async method without background is working fine. But when i call this async method in background it is not calling the server.The following is my code.
1) WebservicePortTypeClient client = null;
2) client = new WebservicePortTypeClient();
3) client.MMAsync(objlog.Stringify(), valueacccoundid.ToString(), valuePushToken.ToString(), "version14");
4) client.MMCompleted += new EventHandler<mmcompletedeventargs>(returnmlp);
At step 3 it is throwing following exception.
The program '[3436] BACKGROUNDTASKHOST.EXE' has exited with code 1 (0x1). The program '[2828] AgHost.exe' has exited with code 0 (0x0).
Any advise would be greatly appreciated.