opensangja / abot

Automatically exported from code.google.com/p/abot
Apache License 2.0
0 stars 0 forks source link

'Abot.Poco.CrawlResult' does not contain a definition for 'ErrorMessage' #128

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Following the "Quick Start" tutorial
2. Being as noob as I am.

What is the expected output? What do you see instead?

Everything was fine, I edited app.config, created the class, and when I made 
step 6. (run the crawl), I got this error message : 

'Abot.Poco.CrawlResult' does not contain a definition for 'ErrorMessage' and no 
extension method 'ErrorMessage' accepting a first argument of type 
'Abot.Poco.CrawlResult' could be found (are you missing a using directive or an 
assembly reference?)

When I go to the definition of CrawlResult, the file is this : 

using System;

namespace Abot.Poco
{
    public class CrawlResult
    {
        public CrawlResult();

        public CrawlContext CrawlContext { get; set; }
        public TimeSpan Elapsed { get; set; }
        public Exception ErrorException { get; set; }
        public bool ErrorOccurred { get; }
        public Uri RootUri { get; set; }
    }
}

What version of the product are you using? On what operating system?

Microsoft Visual Studio 2010 , Windows 7 , project targeted MS.Net FrameWork 4

Please provide any additional information below.

Original issue reported on code.google.com by coder.te...@gmail.com on 24 Jan 2014 at 2:21

GoogleCodeExporter commented 9 years ago
The documentation was incorrect. Changed it to...

result.ErrorException.Message

Thanks for reporting this.

Original comment by sjdir...@gmail.com on 24 Jan 2014 at 4:30