调查以下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();
知道为什么吗?