为什么ReadBatchAsync会抛出FileNotFound异常

时间:2015-07-15 14:50:09

标签: windows-10 win-universal-app

调查以下Windows 10约会代码并致电ReadBatchAsync会引发FileNotFound exception说“device is not ready”。

AppointmentStore store = await AppointmentManager.RequestStoreAsync(AppointmentStoreAccessType.AppCalendarsReadWrite);

AppointmentStoreChangeReader reader = store.ChangeTracker.GetChangeReader();

IReadOnlyList<AppointmentStoreChange> changes = await reader.ReadBatchAsync();

知道为什么吗?

0 个答案:

没有答案