TaskScheduler.cs
Go to the documentation of this file.
75 throw new InvalidOperationException ("The current SynchronizationContext is null and cannot be used as a TaskScheduler");
142 throw new InvalidOperationException ("The TryExecuteTaskInline call to the underlying scheduler succeeded, but the task body was not invoked");
147 internal static UnobservedTaskExceptionEventArgs FireUnobservedEvent (Task task, AggregateException e)
Definition: UnobservedTaskExceptionEventArgs.cs:32
abstract IEnumerable< Task > GetScheduledTasks()
static TaskScheduler Current
Definition: TaskScheduler.cs:86
Definition: AggregateException.cs:31
static TaskScheduler FromCurrentSynchronizationContext()
Definition: TaskScheduler.cs:71
Definition: SynchronizationContextScheduler.cs:34
static EventHandler< UnobservedTaskExceptionEventArgs > UnobservedTaskException
Definition: TaskScheduler.cs:64
Definition: IStructuralComparable.cs:33
bool TryExecuteTask(Task task)
Definition: TaskScheduler.cs:118
Definition: Task.cs:43