protected TargetException(SerializationInfo info, StreamingContext context) : base(info, context) { Type = (TargetError) info.GetValue ("Type", typeof (TargetError)); }