/// <summary> /// 计划任务终结事件处理器 /// </summary> /// <param name="sender">发送者</param> /// <param name="e">The <see cref="Gimela.Tasks.ScheduleTaskTerminatedEventArgs"/> instance containing the event data.</param> void OnScheduleTaskTerminatedEvent(object sender, ScheduleTaskTerminatedEventArgs e) { if (ScheduleTaskTerminatedEvent != null) { ScheduleTaskTerminatedEvent(this, e); } PerformRemoveSchedule(e.ScheduleTaskId); }