31 lines
1.1 KiB
C#
31 lines
1.1 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Threading.Tasks
|
|
{
|
|
/// <summary>Provides data for the event that is raised when a faulted <see cref="T:System.Threading.Tasks.Task" />'s exception goes unobserved.</summary>
|
|
// Token: 0x02000397 RID: 919
|
|
[Token(Token = "0x2000397")]
|
|
public class UnobservedTaskExceptionEventArgs : EventArgs
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Tasks.UnobservedTaskExceptionEventArgs" /> class with the unobserved exception.</summary>
|
|
/// <param name="exception">The Exception that has gone unobserved.</param>
|
|
// Token: 0x06002020 RID: 8224 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002020")]
|
|
[Address(RVA = "0x1DB74B0", Offset = "0x1DB62B0", VA = "0x181DB74B0")]
|
|
public UnobservedTaskExceptionEventArgs(AggregateException exception)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04001258 RID: 4696
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001258")]
|
|
private AggregateException m_exception;
|
|
|
|
// Token: 0x04001259 RID: 4697
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4001259")]
|
|
internal bool m_observed;
|
|
}
|
|
}
|