win universal app - Background Agent in UWP -


in windows 8.1 , wp 8.1, there slight difference between way background agent used work:

winrt: in winrt, in cases os not terminate background agent when background agent exhausts quota. instead suspend agent , allow continue later. suspension done without warning event being raised or callback called. os not stop background agent when becomes idle (for example when waiting command server respond).

win phone: in win phone, os terminate background agent when background agent exhausts quota. termination done no warning. in win phone, os stop background agent when background agent found idle . in situation os raise ibackgroundtaskinstance.canceled.

my question is, there such difference between windows 10 mobile , windows 10 desktop?

in windows 10 background agent has been replaced background task. whatever type of w10 device (mobile or desktop) it's running on, standard background task have 5 seconds complete job after receiving cancel event. once 5 seconds have elapsed, background task terminated. cancel event may triggered user or system if quotas (cpu, memory or network) have been exceeded. variable 1 w10 device both memory , network thresholds used terminate task. if want learn more w10 background tasks, highly encourage watch video made microsoft during ignite 2015 event.


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -