using System; using System.Runtime.Serialization; using Cpp2IlInjected; namespace System.Threading.Tasks { /// Represents an exception used to communicate task cancellation. // Token: 0x0200039F RID: 927 [Token(Token = "0x200039F")] [Serializable] public class TaskCanceledException : OperationCanceledException { /// Initializes a new instance of the class with a system-supplied message that describes the error. // Token: 0x060021C0 RID: 8640 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60021C0")] [Address(RVA = "0xB46A20", Offset = "0xB45A20", VA = "0x180B46A20")] public TaskCanceledException() { } /// Initializes a new instance of the class with a reference to the that has been canceled. /// A task that has been canceled. // Token: 0x060021C1 RID: 8641 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60021C1")] [Address(RVA = "0xB46A70", Offset = "0xB45A70", VA = "0x180B46A70")] public TaskCanceledException(Task task) { } /// Initializes a new instance of the class with serialized data. /// The object that holds the serialized object data. /// The contextual information about the source or destination. // 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; } }