このサンプルからスケジュールされたトースト通知を行う方法を知っていました http://code.msdn.microsoft.com/windowsapps/Schedules-Toast-notificatio-457e599b#content
しかし、今私がやりたいことは、作成されたトーストを削除する方法を知ることです。このコードを試しましたが、機能しません
IReadOnlyList<ScheduledToastNotification> scheduled =
ToastNotificationManager.CreateToastNotifier().GetScheduledToastNotifications();
foreach (ScheduledToastNotification notify in scheduled)
{
if (notify.Id == id)
{
ToastNotificationManager.CreateToastNotifier().RemoveFromSchedule(notify);
}
}