private void BackupFunction(string SrcPath, string DstPath, int Deleted, System.IntPtr Pid) { try { BackupEvent?.Invoke(SrcPath, DstPath, Deleted, Pid); } catch {} }
public void OnBackup(string SrcPath, string DstPath, int Deleted, System.IntPtr Pid) { try { BackupEvent?.Invoke(SrcPath, DstPath, Deleted, Pid); } catch (Exception ex) { throw ErrorHandling.Proceed(ex); } }