Files
Aug2021-Cpp2IL-Dump/mscorlib/System/OperationCanceledException.cs
2026-04-10 22:50:51 +02:00

111 lines
5.7 KiB
C#

using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Threading;
using Cpp2IlInjected;
namespace System
{
/// <summary>The exception that is thrown in a thread upon cancellation of an operation that the thread was executing.</summary>
// Token: 0x02000126 RID: 294
[Token(Token = "0x2000126")]
[ComVisible(true)]
[Serializable]
public class OperationCanceledException : SystemException
{
/// <summary>Gets a token associated with the operation that was canceled.</summary>
/// <returns>A token associated with the operation that was canceled, or a default token.</returns>
// Token: 0x170000D6 RID: 214
// (get) Token: 0x06000AB0 RID: 2736 RVA: 0x000097B0 File Offset: 0x000079B0
// (set) Token: 0x06000AB1 RID: 2737 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000D6")]
public CancellationToken CancellationToken
{
[Token(Token = "0x6000AB0")]
[Address(RVA = "0x44EC80", Offset = "0x44DA80", VA = "0x18044EC80")]
get
{
return default(CancellationToken);
}
[Token(Token = "0x6000AB1")]
[Address(RVA = "0x567D10", Offset = "0x566B10", VA = "0x180567D10")]
private set
{
}
}
/// <summary>Initializes a new instance of the <see cref="T:System.OperationCanceledException" /> class with a system-supplied error message.</summary>
// Token: 0x06000AB2 RID: 2738 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AB2")]
[Address(RVA = "0x2A13B90", Offset = "0x2A12990", VA = "0x182A13B90")]
public OperationCanceledException()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.OperationCanceledException" /> class with a specified error message.</summary>
/// <param name="message">A <see cref="T:System.String" /> that describes the error.</param>
// Token: 0x06000AB3 RID: 2739 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AB3")]
[Address(RVA = "0x2A13BF0", Offset = "0x2A129F0", VA = "0x182A13BF0")]
public OperationCanceledException(string message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.OperationCanceledException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
/// <param name="message">The error message that explains the reason for the exception.</param>
/// <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not <see langword="null" />, the current exception is raised in a <see langword="catch" /> block that handles the inner exception.</param>
// Token: 0x06000AB4 RID: 2740 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AB4")]
[Address(RVA = "0x2A13C60", Offset = "0x2A12A60", VA = "0x182A13C60")]
public OperationCanceledException(string message, Exception innerException)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.OperationCanceledException" /> class with a cancellation token.</summary>
/// <param name="token">A cancellation token associated with the operation that was canceled.</param>
// Token: 0x06000AB5 RID: 2741 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AB5")]
[Address(RVA = "0x2A13CD0", Offset = "0x2A12AD0", VA = "0x182A13CD0")]
public OperationCanceledException(CancellationToken token)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.OperationCanceledException" /> class with a specified error message and a cancellation token.</summary>
/// <param name="message">The error message that explains the reason for the exception.</param>
/// <param name="token">A cancellation token associated with the operation that was canceled.</param>
// Token: 0x06000AB6 RID: 2742 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AB6")]
[Address(RVA = "0x2A13C90", Offset = "0x2A12A90", VA = "0x182A13C90")]
public OperationCanceledException(string message, CancellationToken token)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.OperationCanceledException" /> class with a specified error message, a reference to the inner exception that is the cause of this exception, and a cancellation token.</summary>
/// <param name="message">The error message that explains the reason for the exception.</param>
/// <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not <see langword="null" />, the current exception is raised in a <see langword="catch" /> block that handles the inner exception.</param>
/// <param name="token">A cancellation token associated with the operation that was canceled.</param>
// Token: 0x06000AB7 RID: 2743 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AB7")]
[Address(RVA = "0x2A13C20", Offset = "0x2A12A20", VA = "0x182A13C20")]
public OperationCanceledException(string message, Exception innerException, CancellationToken token)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.OperationCanceledException" /> 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: 0x06000AB8 RID: 2744 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AB8")]
[Address(RVA = "0x3F60E0", Offset = "0x3F4EE0", VA = "0x1803F60E0")]
protected OperationCanceledException(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x0400046E RID: 1134
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
[Token(Token = "0x400046E")]
[NonSerialized]
private CancellationToken _cancellationToken;
}
}