System.Runtime.Serialization.DataContractSerializerSettings public class DataContractSerializerSettings Documentation public DataContractResolver DataContractResolver { get; set; } public bool IgnoreExtensionDataObject { get; set; } public IEnumerable<Type> KnownTypes { get; set; } public int MaxItemsInObjectGraph { get; set; } public bool PreserveObjectReferences { get; set; } public XmlDictionaryString RootName { get; set; } public XmlDictionaryString RootNamespace { get; set; } public bool SerializeReadOnlyTypes { get; set; } public DataContractSerializerSettings()