Only one background task is listed, although I have PeriodicTask and ResourceIntensiveTask

In my application, I create both PeriodicTask and ResourceIntensiveTask, both of which have different descriptions.

In settings, applications, background tasks, I see only a description of PeriodicTask. Is this normal, or does it mean that I messed up something?

Thanks Damian

+4
source share
2 answers

Each application can have only one background task, but you can check what type of task the system should perform by checking the ScheduleTask object from the OnInvoke method. See http://msdn.microsoft.com/en-us/library/hh202941(v=VS.92).aspx .

Edit: a description is required only for a periodic task that appears as an agent description. For a resource-intensive task, you need to provide a description.

+2
source

ResourceIntensiveTask will not be displayed only in PeriodicTask parameters. An expanded list will show your application. This is my experience.

+1
source

All Articles