KnownTypeAttribute in C++.NET
WCF and WF
1
Posts
1
Posters
0
Views
1
Watching
-
;
[DataContract]
[KnownType(List<String^>::typeid)]
ref class MyClass
{
public List<String^>^ _myStrings;
};[DataContract]
[KnownType(List<MyClass^>::typeid)]
ref class NewClass
{
[DataMember]
public List<MyClass^>^ _myClasses;
};this data contact is failed in WCF serialization Anyone know about this problem?? Thanks