You work as a developer at ABC.com. The ABC.com network consists of a single domain named
ABC.com.
You have written code that includes the DataContractSerializer class. The code also includes a
DataContractSerializer class property that obtains the component used to dynamically map
xsi:type declarations to known contract types.
Which of the following is the property included in the code?
A.
The DataContractResolver property.
B.
The DataContractSurrogate property.
C.
The KnownTypes property.
D.
The PreserveObjectReferences property.
Explanation:
A
A)
//
// Summary:
// Gets the component used to dynamically map xsi:type declarations to known contract
// types.
//
// Returns:
// An implementation of the System.Runtime.Serialization.DataContractResolver class.