IActiveView.Output on a background thread

Discussion created by itaibh on Jul 7, 2011
Latest reply on Aug 21, 2011 by vickarasu
I want to output a part of the map's active view but without stopping the current UI thread.
I'm using C# and ArcGIS 9.3.1 (sp1).

I tried doing it in a background thread but this is the exception I get:

COMException was unhandled: "The data necessary to complete this operation is not yet available. (Exception from HRESULT: 0x8000000A)"

Is there a way of outputing a bitmap from the map in background?