0
我試圖將我的應用程序傳遞給Microsoft市場,但是我在我的後臺代理中出現了3個錯誤,我不明白。市場測試失敗PhoneApplicationService
是說:
Unsupported API cannot be used by a background agent. Assembly contoso.dll was trying to
use Micosoft.Phone.Shell.PhoneApplicationService::get_Current
Unsupported API cannot be used by a background agent. Assembly contoso.dll was trying to
use Micosoft.Phone.Shell.PhoneApplicationService::get_State
Unsupported API cannot be used by a background agent. Assembly contoso.dll was trying to
use Micosoft.Phone.Shell.PhoneApplicationService
所以我找了不支持的API(http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202962(v=vs.105).aspx
)
我使用ShellToast
類,但它應該得到支持?
我不明白爲什麼,或當我使用這個PhoneApplicationService,它不在我的後臺代理引用,並且我使用的Microsoft.Phone.Shell
命名空間中的唯一一類是ShellToast
...
而且我使用IsoStorage,但它允許從後臺代理
任何猜測沒有代碼?你知道這個錯誤何時會發生嗎?
謝謝,