-
Notifications
You must be signed in to change notification settings - Fork 184
/
Copy pathCrawlErrorEventArgs.cs
41 lines (35 loc) · 1.14 KB
/
CrawlErrorEventArgs.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CrawlErrorEventArgs.cs" company="pzcast">
// (C) 2015 pzcast. All rights reserved.
// </copyright>
// <summary>
// The crawl error event args.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace SimpleCrawler
{
using System;
/// <summary>
/// The crawl error event handler.
/// </summary>
/// <param name="args">
/// The args.
/// </param>
public delegate void CrawlErrorEventHandler(CrawlErrorEventArgs args);
/// <summary>
/// The crawl error event args.
/// </summary>
public class CrawlErrorEventArgs : EventArgs
{
#region Public Properties
/// <summary>
/// Gets or sets the exception.
/// </summary>
public Exception Exception { get; set; }
/// <summary>
/// Gets or sets the url.
/// </summary>
public string Url { get; set; }
#endregion
}
}