45 lines
1.8 KiB
C#
45 lines
1.8 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Threading.Tasks
|
|
{
|
|
/// <summary>Represents the current stage in the lifecycle of a <see cref="T:System.Threading.Tasks.Task" />.</summary>
|
|
// Token: 0x0200038D RID: 909
|
|
[Token(Token = "0x200038D")]
|
|
public enum TaskStatus
|
|
{
|
|
/// <summary>The task has been initialized but has not yet been scheduled.</summary>
|
|
// Token: 0x04001282 RID: 4738
|
|
[Token(Token = "0x4001282")]
|
|
Created,
|
|
/// <summary>The task is waiting to be activated and scheduled internally by the .NET Framework infrastructure.</summary>
|
|
// Token: 0x04001283 RID: 4739
|
|
[Token(Token = "0x4001283")]
|
|
WaitingForActivation,
|
|
/// <summary>The task has been scheduled for execution but has not yet begun executing.</summary>
|
|
// Token: 0x04001284 RID: 4740
|
|
[Token(Token = "0x4001284")]
|
|
WaitingToRun,
|
|
/// <summary>The task is running but has not yet completed.</summary>
|
|
// Token: 0x04001285 RID: 4741
|
|
[Token(Token = "0x4001285")]
|
|
Running,
|
|
/// <summary>The task has finished executing and is implicitly waiting for attached child tasks to complete.</summary>
|
|
// Token: 0x04001286 RID: 4742
|
|
[Token(Token = "0x4001286")]
|
|
WaitingForChildrenToComplete,
|
|
/// <summary>The task completed execution successfully.</summary>
|
|
// Token: 0x04001287 RID: 4743
|
|
[Token(Token = "0x4001287")]
|
|
RanToCompletion,
|
|
/// <summary>The task acknowledged cancellation by throwing an OperationCanceledException with its own CancellationToken while the token was in signaled state, or the task's CancellationToken was already signaled before the task started executing. For more information, see Task Cancellation.</summary>
|
|
// Token: 0x04001288 RID: 4744
|
|
[Token(Token = "0x4001288")]
|
|
Canceled,
|
|
/// <summary>The task completed due to an unhandled exception.</summary>
|
|
// Token: 0x04001289 RID: 4745
|
|
[Token(Token = "0x4001289")]
|
|
Faulted
|
|
}
|
|
}
|