NotSupportedException: Specified method is not supported.


NotSupportedException: Specified method is not supported.
Atom
2/29/2012


Den

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

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

Code

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


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

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

Tags:


Thanks:


Alexander

Avatar
Date: 2/29/2012
Reply


1) Версия S#
2) StackTrace
Thanks:

Den

Avatar
Date: 2/29/2012
Reply


Alexander Mukhanchikov Go to
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
Thanks:

Alexander

Avatar
Date: 2/29/2012
Reply


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

Den

Avatar
Date: 2/29/2012
Reply


Alexander Mukhanchikov Go to
В 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)
Thanks:

Mikhail Sukhov

Avatar
Date: 2/29/2012
Reply


А в 4.1?[laugh]
Thanks:

Den

Avatar
Date: 3/1/2012
Reply


Mikhail Sukhov Go to
А в 4.1?[laugh]

В 4.1 все ОК
Thanks:


Attach files by dragging & dropping, , or pasting from the clipboard.

loading
clippy