using System;
using System.Collections.Generic;
using Cpp2IlInjected;
namespace System.Threading.Tasks
{
/// Provides support for creating and scheduling objects.
// Token: 0x02000392 RID: 914
[Token(Token = "0x2000392")]
public class TaskFactory
{
// Token: 0x06001FF9 RID: 8185 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001FF9")]
[Address(RVA = "0x1D9D480", Offset = "0x1D9C280", VA = "0x181D9D480")]
private TaskScheduler GetDefaultScheduler(Task currTask)
{
return null;
}
/// Initializes a instance with the default configuration.
// Token: 0x06001FFA RID: 8186 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001FFA")]
[Address(RVA = "0x1D9D8B0", Offset = "0x1D9C6B0", VA = "0x181D9D8B0")]
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: 0x06001FFB RID: 8187 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001FFB")]
[Address(RVA = "0x1D9D710", Offset = "0x1D9C510", VA = "0x181D9D710")]
public TaskFactory(CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
{
}
// Token: 0x06001FFC RID: 8188 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001FFC")]
[Address(RVA = "0x1D9CFC0", Offset = "0x1D9BDC0", VA = "0x181D9CFC0")]
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: 0x06001FFD RID: 8189 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001FFD")]
[Address(RVA = "0x1D9D660", Offset = "0x1D9C460", VA = "0x181D9D660")]
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: 0x06001FFE RID: 8190 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001FFE")]
[Address(RVA = "0x1D9D5A0", Offset = "0x1D9C3A0", VA = "0x181D9D5A0")]
public Task StartNew(Action