KillProcessCompletedEvent.cs 896 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.ComponentModel;
  3. namespace Update.Net.Events
  4. {
  5. /// <summary>
  6. /// 结束进程完成事件类型
  7. /// </summary>
  8. /// <param name="sender"></param>
  9. /// <param name="e"></param>
  10. public delegate void KillProcessCompletedEventHandler(object sender, KillProcessCompletedEventArgs e);
  11. /// <summary>
  12. /// 结束进程完成事件数据
  13. /// </summary>
  14. public class KillProcessCompletedEventArgs : AsyncCompletedEventArgs
  15. {
  16. /// <summary>
  17. /// 构造函数
  18. /// </summary>
  19. /// <param name="error">异常</param>
  20. /// <param name="cancelled">是否取消操作</param>
  21. /// <param name="userState">用户数据</param>
  22. public KillProcessCompletedEventArgs(Exception error, bool cancelled, object userState)
  23. : base(error, cancelled, userState)
  24. {
  25. }
  26. }
  27. }