← Назад

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 все ОК