Use on DataContracts and LINQ to Sql objects
public static string SerializeToXmlString(object value, bool throwExceptions);
throwExceptions