资讯

加上该标识。 使用DataContractSerializer会提示找不到已知类型,请考虑使用 DataContractResolver,或将任何未知类型以静态方式添加到已知类型的列表。 例如,可以使用 KnownTypeAttribute 特性,或者将未知类型添加到传递给 DataContractSerializer 的已知类型列表。 请问怎样解决?
Eric Vogel is a Senior Software Developer for Red Cedar Solutions Group in Okemos, Michigan. He is the president of the Greater Lansing User Group for .NET. Eric enjoys learning about software ...