← 返回

NotSupportedException: Specified method is not supported.

Уважаемые разработчики,

столкнулся с проблемой. Пытаюсь вставить колонку в стакан.


this.Trader.QuotesTable.Columns.Insert(0, DdeQuoteColumns.BetterAskVolume);

Получаю System.NotSupportedException: Specified method is not supported.

Что я делаю неправильно?

本主题对您有帮助吗?

分享主题

评论 (6)

登录创建账户, 登录或注册以发表评论

Alexander
Alexander
  1. Версия S#
  2. StackTrace
Den
Den 作者

Alexander Mukhanchikov:

  1. Версия S#
  2. StackTrace
  1. S# 4.0.14
  2. System.NotSupportedException was unhandled by user code Message=Specified method is not supported. Source=Ecng.Collections StackTrace: at Ecng.Collections.SynchronizedSet1.System.Collections.Generic.IList<T>.Insert(Int32 index, T item) at Ecng.Collections.BaseCollection1.Insert(Int32 index, T item) at Ecng.Collections.SynchronizedCollection`1.Insert(Int32 index, T item) at MainWindow.xaml.cs
Alexander
Alexander

В S# 4.0.20 наблюдается?

Den
Den 作者

Alexander Mukhanchikov: В S# 4.0.20 наблюдается? К сожалению, да.

System.NotSupportedException was unhandled by user code Message=Specified method is not supported. Source=Ecng.Collections StackTrace: at Ecng.Collections.SynchronizedSet1.System.Collections.Generic.IList<T>.Insert(Int32 index, T item) at Ecng.Collections.BaseCollection1.Insert(Int32 index, T item) at Ecng.Collections.SynchronizedCollection`1.Insert(Int32 index, T item)

Mikhail Sukhov
Mikhail Sukhov

А в 4.1?😂

Den
Den 作者

Mikhail Sukhov: А в 4.1?😂 В 4.1 все ОК