/// <summary> /// 采集错误 事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> internal void onTaskError(object sender, TaskErrorEventArgs e) { // 加入重试队列 //m_GatherTaskList.AddWaitingWorkThread(e.ErrorThread); if (e_TaskError != null) { e_TaskError(sender, e); } }
/// <summary> /// �ɼ����� �¼� /// </summary> /// <param name="sender"></param> /// <param name="e"></param> internal void onTaskError(object sender, TaskErrorEventArgs e) { // �������Զ��� //m_GatherTaskList.AddWaitingWorkThread(e.ErrorThread); if (e_TaskError != null) { e_TaskError(sender, e); } }
//����Url�ɼ������������н�����Ӧ����¼��־���ɣ���־�������¼���¼��� //������ﵽһ�����������ɺ�̨�̴߳�������ʧ�ܵ��¼���������ʧ���¼���� //��ʱ���ݵĴ洢 private void tManage_TaskError(object sender, TaskErrorEventArgs e) { //cGatherTask t = (cGatherTask)sender; ////����Ҫͨ������֪ͨ�����û���ֱ��д��ɼ����ӣ�ע��������� ////InvokeMethod(this, "ShowInfo", new object[] {rm.GetString("TaskGError"), t.TaskName }); //InvokeMethod(this, "UpdateStatebarTask", null); //InvokeMethod(this, "SaveGatherTempData", new object[] { t.TaskID }); //t = null; }