UpdateValue() public method

Sets the topic value and calls UpdateNotify on the RTD Server to refresh.
public UpdateValue ( object value ) : void
value object
return void
 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();
 }
Esempio n. 2
0
 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);
        }