public void OnError(Exception exception) { Value = ExcelIntegration.HandleUnhandledException(exception); // Set the topic value to #VALUE (not used!?) - converted to COM code in Topic _topic.UpdateValue(ExcelError.ExcelErrorValue); OnCompleted(); }
public void OnError(Exception exception) { // TODO: Is the sequence here important? Value = ExcelIntegration.HandleUnhandledException(exception); // Set the topic value to #VALUE (not used!?) - converted to COM code in Topic _topic.UpdateValue(ExcelError.ExcelErrorValue); IsCompleted = true; }
public void OnCompleted() { IsCompleted = true; // 2016-11-04: We have to ensure that the UpdateNotify call is still called if // OnCompleted happens during the ConnectData // To ensure this we set the internal topic value _topic.UpdateValue(ExcelObserverRtdServer.TopicValueCompleted); }