← Zurück

NotSupportedException: Specified method is not supported.

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

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


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

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

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

War dieses Thema hilfreich?

Thema teilen

Kommentare (6)

Anmelden oder Konto erstellen, Melden Sie sich an oder registrieren Sie sich, um einen Kommentar zu hinterlassen

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

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 Autor

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 Autor

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