NotSupportedException: Specified method is not supported.
Atom
29.02.2012


Den

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

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

Код

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


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

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

Теги:


Спасибо:


Alexander

Фотография
Дата: 29.02.2012
Ответить


1) Версия S#
2) StackTrace
Спасибо:

Den

Фотография
Дата: 29.02.2012
Ответить


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.SynchronizedSet`1.System.Collections.Generic.IList<T>.Insert(Int32 index, T item)
at Ecng.Collections.BaseCollection`1.Insert(Int32 index, T item)
at Ecng.Collections.SynchronizedCollection`1.Insert(Int32 index, T item)
at MainWindow.xaml.cs
Спасибо:

Alexander

Фотография
Дата: 29.02.2012
Ответить


В S# 4.0.20 наблюдается?
Спасибо:

Den

Фотография
Дата: 29.02.2012
Ответить


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.SynchronizedSet`1.System.Collections.Generic.IList<T>.Insert(Int32 index, T item)
at Ecng.Collections.BaseCollection`1.Insert(Int32 index, T item)
at Ecng.Collections.SynchronizedCollection`1.Insert(Int32 index, T item)
Спасибо:

Mikhail Sukhov

Фотография
Дата: 29.02.2012
Ответить


А в 4.1?[laugh]
Спасибо:

Den

Фотография
Дата: 01.03.2012
Ответить


Mikhail Sukhov Перейти
А в 4.1?[laugh]

В 4.1 все ОК
Спасибо:


Добавить файлы через драг-н-дроп, , или вставить из буфера обмена.

loading
clippy