wp8:从计划操作服务中删除所有内容



如何从计划操作服务中删除所有警报?

ScheduledActionService.remove()方法需要一个名称也find()

List<ScheduledNotification> notifications = ScheduledActionService.GetActions<ScheduledNotification>().ToList();
foreach (ScheduledNotification notification in notifications)
{
    ScheduledActionService.Remove(notification.Name);
}

最新更新