using System; using System.Runtime.Serialization; using Cpp2IlInjected; namespace System.Threading.Tasks { /// Represents an exception used to communicate task cancellation. // Token: 0x02000383 RID: 899 [Token(Token = "0x2000383")] [Serializable] public class TaskCanceledException : OperationCanceledException { /// Initializes a new instance of the class with a system-supplied message that describes the error. // Token: 0x06001FB4 RID: 8116 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001FB4")] [Address(RVA = "0x1D9BAC0", Offset = "0x1D9A8C0", VA = "0x181D9BAC0")] 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: 0x06001FB5 RID: 8117 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001FB5")] [Address(RVA = "0x1D9BB10", Offset = "0x1D9A910", VA = "0x181D9BB10")] 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: 0x06001FB6 RID: 8118 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001FB6")] [Address(RVA = "0x4E7140", Offset = "0x4E5F40", VA = "0x1804E7140")] protected TaskCanceledException(SerializationInfo info, StreamingContext context) { } // Token: 0x0400122E RID: 4654 [FieldOffset(Offset = "0x90")] [Token(Token = "0x400122E")] [NonSerialized] private Task m_canceledTask; } }