Share via


Workspace.ScheduleTask Method

Definition

Overloads

ScheduleTask(Action, String)

Executes an action as a background task, as part of a sequential queue of tasks.

ScheduleTask<T>(Func<T>, String)

Execute a function as a background task, as part of a sequential queue of tasks.

ScheduleTask(Action, String)

Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs

Executes an action as a background task, as part of a sequential queue of tasks.

protected internal System.Threading.Tasks.Task ScheduleTask (Action action, string taskName = "Workspace.Task");
protected internal System.Threading.Tasks.Task ScheduleTask (Action action, string? taskName = "Workspace.Task");
member this.ScheduleTask : Action * string -> System.Threading.Tasks.Task
Protected Friend Function ScheduleTask (action As Action, Optional taskName As String = "Workspace.Task") As Task

Parameters

action
Action
taskName
String

Returns

Applies to

ScheduleTask<T>(Func<T>, String)

Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs

Execute a function as a background task, as part of a sequential queue of tasks.

protected internal System.Threading.Tasks.Task<T> ScheduleTask<T> (Func<T> func, string taskName = "Workspace.Task");
protected internal System.Threading.Tasks.Task<T> ScheduleTask<T> (Func<T> func, string? taskName = "Workspace.Task");
member this.ScheduleTask : Func<'T> * string -> System.Threading.Tasks.Task<'T>
Protected Friend Function ScheduleTask(Of T) (func As Func(Of T), Optional taskName As String = "Workspace.Task") As Task(Of T)

Type Parameters

T

Parameters

func
Func<T>
taskName
String

Returns

Task<T>

Applies to