Workspace.ScheduleTask Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.