Workspace.ScheduleTask 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ScheduleTask(Action, String) |
以背景工作的形式執行動作,做為工作循序佇列的一部分。 |
ScheduleTask<T>(Func<T>, String) |
以背景工作的形式執行函式,作為工作循序佇列的一部分。 |
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
以背景工作的形式執行動作,做為工作循序佇列的一部分。
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
參數
- action
- Action
- taskName
- String
傳回
適用於
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
以背景工作的形式執行函式,作為工作循序佇列的一部分。
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)
類型參數
- T
參數
- func
- Func<T>
- taskName
- String
傳回
Task<T>