protected HttpOutcome(SerializationInfo info, StreamingContext context)
{
if (info == null)
{
throw new ArgumentNullException("info");
}
_location = new Uri(info.GetString("Location"));
_method = new HttpMethod(info.GetString("Method"));
_statusCode = (HttpStatusCode)Enum.Parse(typeof(HttpStatusCode), info.GetString("StatusCode"));
_responseMessage = info.GetString("ResonseMessage");
_responseTime = new TimeSpan(info.GetInt64("ResonseTime"));
}