Operation should contain two steps - Make dump of process (http://blogs.microsoft.co.il/sasha/2008/05/28/programmatically-generating-a-dump-file/) - Kill process