31 lines
1.1 KiB
C#
31 lines
1.1 KiB
C#
using System;
|
|
|
|
namespace System.IO
|
|
{
|
|
/// <summary>Provides data for the <see cref="E:System.IO.FileSystemWatcher.Error" /> event.</summary>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x0200010E RID: 270
|
|
public class ErrorEventArgs : EventArgs
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.IO.ErrorEventArgs" /> class.</summary>
|
|
/// <param name="exception">An <see cref="T:System.Exception" /> that represents the error that occurred. </param>
|
|
// Token: 0x060009C7 RID: 2503 RVA: 0x0001A540 File Offset: 0x00018740
|
|
public ErrorEventArgs(Exception exception)
|
|
{
|
|
this.exception = exception;
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Exception" /> that represents the error that occurred.</summary>
|
|
/// <returns>An <see cref="T:System.Exception" /> that represents the error that occurred.</returns>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x060009C8 RID: 2504 RVA: 0x0001A550 File Offset: 0x00018750
|
|
public virtual Exception GetException()
|
|
{
|
|
return this.exception;
|
|
}
|
|
|
|
// Token: 0x0400033B RID: 827
|
|
private Exception exception;
|
|
}
|
|
}
|