public override void GetObjectData(SerializationInfo info, StreamingContext context)
{
base.GetObjectData(info, context);
// Add custom data, in this case the list of errors when serializing.
// Thanks Robert Chartier for info: http://www.15seconds.com/issue/020903.htm
//use the info object to add the items you want serialized
info.AddValue("errors", errors, typeof (IList));
}