Partager via


Workspace.ScheduleTask Méthode

Définition

Surcharges

ScheduleTask(Action, String)

Exécute une action en tant que tâche en arrière-plan, dans le cadre d’une file d’attente séquentielle de tâches.

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

Exécutez une fonction en tant que tâche en arrière-plan, dans le cadre d’une file d’attente séquentielle de tâches.

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

Exécute une action en tant que tâche en arrière-plan, dans le cadre d’une file d’attente séquentielle de tâches.

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

Paramètres

action
Action
taskName
String

Retours

S’applique à

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

Exécutez une fonction en tant que tâche en arrière-plan, dans le cadre d’une file d’attente séquentielle de tâches.

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)

Paramètres de type

T

Paramètres

func
Func<T>
taskName
String

Retours

Task<T>

S’applique à