IsReference property in data contract

后端 未结 2 1744
一向
一向 2020-12-05 17:11

What is the purpose of IsReference property in DataContract? How does the request and response vary with this property applied?

2条回答
  •  南笙
    南笙 (楼主)
    2020-12-05 17:53

    Also IsReference does not exist in .NET Framework 3.5. So you could get errors when using it with that Framework version - it only exists in 4.5, 4, 3.5 SP1 and Silverlight.

    "Error 297 'System.Runtime.Serialization.DataContractAttribute' does not contain a definition for 'IsReference' "

提交回复
热议问题