Windows phone 8.1 background tasks

windows-8.1, windows-phone, windows-phone-8, windows-phone-8.1

Solution

The answer above is wrong. Wonder how it has 5 votes. Anyways, background task cannot run in a silverlight applciation but it can only register a background task. It has to be a runtime project that runs a background task.

A silverlight application can just register a background task which is a separate runtime project. Its a different process all together.

Problem

I just downloaded the universal app background task sample application for windows phone 8.1 and windows 8.1. http://code.msdn.microsoft.com/windowsapps/Background-Task-Sample-9209ade9 So after going through the code, I understand that the background task is being implemented using the windows runtime component. I am trying to use the timertrigger. Is it a possibility that the background task be implemented using the Silverlight 8.1 windows phone project instead of a windows runtime project?

Original source