Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何从ScheduledActionService中删除所有警报?
ScheduledActionService.remove()方法需要一个名字也可以find()
ScheduledActionService.remove()
find()
List<ScheduledNotification> notifications = ScheduledActionService.GetActions<ScheduledNotification>().ToList(); foreach (ScheduledNotification notification in notifications) { ScheduledActionService.Remove(notification.Name); }