This is a migrated thread and some comments may be shown as answers.

QueryableCollectionView and ObservableItemCollection

1 Answer 67 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alexander
Top achievements
Rank 1
Alexander asked on 27 Dec 2012, 12:50 PM
Hi.
I use Silverlight 5. Server side is Win7, Client side is WinXP.
On Client side don't work next code:

var tmp = new QueryableCollectionView(new ObservableItemCollection<MyWrapper>());


Message error:

Attempt by method 'System.Linq.EnumerableQuery.Create(System.Type, System.Collections.IEnumerable)' to access method 'System.Linq.EnumerableQuery`1<System.__Cannon>..ctor(System.Collections.Generic.IEnumerable`1<System.__Canon>)' failed.

On Client side with Win7 it work fine.

Regards,
Alexander

1 Answer, 1 is accepted

Sort by
0
Alexander
Top achievements
Rank 1
answered on 09 Jan 2013, 01:13 PM
I find my error. MyWrapper class was internal class.
Tags
General Discussions
Asked by
Alexander
Top achievements
Rank 1
Answers by
Alexander
Top achievements
Rank 1
Share this question
or