using System;
using System.Collections.Generic;
using Cpp2IlInjected;
namespace System.Threading.Tasks
{
/// Provides support for creating and scheduling objects.
// Token: 0x020003AE RID: 942
[Token(Token = "0x20003AE")]
public class TaskFactory
{
// Token: 0x06002205 RID: 8709 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002205")]
[Address(RVA = "0xB48350", Offset = "0xB47350", VA = "0x180B48350")]
private TaskScheduler GetDefaultScheduler(Task currTask)
{
return null;
}
/// Initializes a instance with the default configuration.
// Token: 0x06002206 RID: 8710 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002206")]
[Address(RVA = "0xB48780", Offset = "0xB47780", VA = "0x180B48780")]
public TaskFactory()
{
}
/// Initializes a instance with the specified configuration.
/// The default that will be assigned to tasks created by this unless another CancellationToken is explicitly specified while calling the factory methods.
/// The default to use when creating tasks with this TaskFactory.
/// The default to use when creating continuation tasks with this TaskFactory.
/// The default to use to schedule any Tasks created with this TaskFactory. A null value indicates that TaskScheduler.Current should be used.
/// The argument specifies an invalid value. For more information, see the Remarks for .
/// -or-
/// The argument specifies an invalid value.
// Token: 0x06002207 RID: 8711 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002207")]
[Address(RVA = "0xB485E0", Offset = "0xB475E0", VA = "0x180B485E0")]
public TaskFactory(CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
{
}
// Token: 0x06002208 RID: 8712 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002208")]
[Address(RVA = "0xB47EC0", Offset = "0xB46EC0", VA = "0x180B47EC0")]
internal static void CheckCreationOptions(TaskCreationOptions creationOptions)
{
}
/// Creates and starts a .
/// The action delegate to execute asynchronously.
/// The that will be assigned to the new
/// A TaskCreationOptions value that controls the behavior of the created
/// The that is used to schedule the created .
/// The started .
/// The provided has already been disposed.
/// The exception that is thrown when the argument is null.
/// -or-
/// The exception that is thrown when the argument is null.
/// The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
// Token: 0x06002209 RID: 8713 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002209")]
[Address(RVA = "0xB48530", Offset = "0xB47530", VA = "0x180B48530")]
public Task StartNew(Action action, CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskScheduler scheduler)
{
return null;
}
/// Creates and starts a .
/// The action delegate to execute asynchronously.
/// An object containing data to be used by the delegate.
/// The that will be assigned to the new task.
/// A TaskCreationOptions value that controls the behavior of the created
/// The that is used to schedule the created .
/// The started .
/// The provided has already been disposed.
/// The exception that is thrown when the argument is null.
/// -or-
/// The exception that is thrown when the argument is null.
/// The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
// Token: 0x0600220A RID: 8714 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600220A")]
[Address(RVA = "0xB48470", Offset = "0xB47470", VA = "0x180B48470")]
public Task StartNew(Action