using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Threading;
using Cpp2IlInjected;
namespace System
{
/// The exception that is thrown in a thread upon cancellation of an operation that the thread was executing.
// Token: 0x0200012D RID: 301
[Token(Token = "0x200012D")]
[ComVisible(true)]
[Serializable]
public class OperationCanceledException : SystemException
{
/// Gets a token associated with the operation that was canceled.
/// A token associated with the operation that was canceled, or a default token.
// Token: 0x170000DB RID: 219
// (get) Token: 0x06000AE2 RID: 2786 RVA: 0x00009A80 File Offset: 0x00007C80
// (set) Token: 0x06000AE3 RID: 2787 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000DB")]
public CancellationToken CancellationToken
{
[Token(Token = "0x6000AE2")]
[Address(RVA = "0x4C31C0", Offset = "0x4C21C0", VA = "0x1804C31C0")]
get
{
return default(CancellationToken);
}
[Token(Token = "0x6000AE3")]
[Address(RVA = "0x497020", Offset = "0x496020", VA = "0x180497020")]
private set
{
}
}
/// Initializes a new instance of the class with a system-supplied error message.
// Token: 0x06000AE4 RID: 2788 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AE4")]
[Address(RVA = "0x2D78A50", Offset = "0x2D77A50", VA = "0x182D78A50")]
public OperationCanceledException()
{
}
/// Initializes a new instance of the class with a specified error message.
/// A that describes the error.
// Token: 0x06000AE5 RID: 2789 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AE5")]
[Address(RVA = "0x2D78AB0", Offset = "0x2D77AB0", VA = "0x182D78AB0")]
public OperationCanceledException(string message)
{
}
/// Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
/// The error message that explains the reason for the exception.
/// The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
// Token: 0x06000AE6 RID: 2790 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AE6")]
[Address(RVA = "0x2D78B20", Offset = "0x2D77B20", VA = "0x182D78B20")]
public OperationCanceledException(string message, Exception innerException)
{
}
/// Initializes a new instance of the class with a cancellation token.
/// A cancellation token associated with the operation that was canceled.
// Token: 0x06000AE7 RID: 2791 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AE7")]
[Address(RVA = "0x2D78B90", Offset = "0x2D77B90", VA = "0x182D78B90")]
public OperationCanceledException(CancellationToken token)
{
}
/// Initializes a new instance of the class with a specified error message and a cancellation token.
/// The error message that explains the reason for the exception.
/// A cancellation token associated with the operation that was canceled.
// Token: 0x06000AE8 RID: 2792 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AE8")]
[Address(RVA = "0x2D78B50", Offset = "0x2D77B50", VA = "0x182D78B50")]
public OperationCanceledException(string message, CancellationToken token)
{
}
/// Initializes a new instance of the class with a specified error message, a reference to the inner exception that is the cause of this exception, and a cancellation token.
/// The error message that explains the reason for the exception.
/// The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
/// A cancellation token associated with the operation that was canceled.
// Token: 0x06000AE9 RID: 2793 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AE9")]
[Address(RVA = "0x2D78AE0", Offset = "0x2D77AE0", VA = "0x182D78AE0")]
public OperationCanceledException(string message, Exception innerException, CancellationToken token)
{
}
/// 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: 0x06000AEA RID: 2794 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AEA")]
[Address(RVA = "0x7241B0", Offset = "0x7231B0", VA = "0x1807241B0")]
protected OperationCanceledException(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x04000478 RID: 1144
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
[Token(Token = "0x4000478")]
[NonSerialized]
private CancellationToken _cancellationToken;
}
}