Unfortunately, there is not anything like an AbortUpdate. The best way to handle this would be to set up a try/catch/finally block and add code to the catch block to put the graph back into a default state if an exception is thrown. I also suggest putting the call to EndUpdate in the finally block so that EndUpdate is guaranteed to be called, even if an exception is thrown.
Also, you could potentially run into problems with the way that you're updating the graph from another thread because Windows Forms controls are not thread-safe. Notice that the class overviews of all .NET Framework and Measurement Studio Windows Forms controls have a thread safety section that states:
"Only the following members are safe for multithreaded operations: BeginInvoke, EndInvoke, Invoke, InvokeRequired, and CreateGraphics."For more information about accessing Windows Forms controls from non-UI threads, see the .NET Quickstart article
"Making procedure calls across thread boundaries".
- Elton