IGeoProcessorResult2 and ExecuteAsync

Discussion created by tenns on Dec 14, 2011
I'm receiving odd behavior when I query my result from an ExecuteAsync on a custom tool.  I get an esriJobFailed status during and after a 'successful' tool is being run.  I say 'successful' because results dockable window says 'Succeeded'.

My ExecuteAsync...

m_result = m_gp.ExecuteAsync(toolName, parameters);

My query via a button...

listView2.Items.Add(new ListViewItem(new string[2] { "Status", Convert.ToString(((IGeoProcessorResult2)m_result).Status) }));

When I run the tool, and click my button multiple times, I get  esriJobWaiting, esriJobWaiting, esriJobFailed, esriJobFailed,esriJobFailed, ...