47 lines
2.0 KiB
C#
47 lines
2.0 KiB
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Threading.Tasks
|
|
{
|
|
/// <summary>Represents an exception used to communicate task cancellation.</summary>
|
|
// Token: 0x0200039F RID: 927
|
|
[Token(Token = "0x200039F")]
|
|
[Serializable]
|
|
public class TaskCanceledException : OperationCanceledException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskCanceledException" /> class with a system-supplied message that describes the error.</summary>
|
|
// Token: 0x060021C0 RID: 8640 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60021C0")]
|
|
[Address(RVA = "0xB46A20", Offset = "0xB45A20", VA = "0x180B46A20")]
|
|
public TaskCanceledException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskCanceledException" /> class with a reference to the <see cref="T:System.Threading.Tasks.Task" /> that has been canceled.</summary>
|
|
/// <param name="task">A task that has been canceled.</param>
|
|
// Token: 0x060021C1 RID: 8641 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60021C1")]
|
|
[Address(RVA = "0xB46A70", Offset = "0xB45A70", VA = "0x180B46A70")]
|
|
public TaskCanceledException(Task task)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskCanceledException" /> class with serialized data.</summary>
|
|
/// <param name="info">The object that holds the serialized object data.</param>
|
|
/// <param name="context">The contextual information about the source or destination.</param>
|
|
// Token: 0x060021C2 RID: 8642 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60021C2")]
|
|
[Address(RVA = "0x71ABC0", Offset = "0x719BC0", VA = "0x18071ABC0")]
|
|
protected TaskCanceledException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
// Token: 0x040012F1 RID: 4849
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x40012F1")]
|
|
[NonSerialized]
|
|
private Task m_canceledTask;
|
|
}
|
|
}
|