void host_Progress(int percent, byte arrayID, ushort rowNum) { if (worker.CancellationPending) { host.Abort(); } else { worker.ReportProgress(percent, Tuple.Create<byte, ushort>(arrayID, rowNum)); } }