IVsTaskSchedulerService Interface
Creates and interacts with Asynchrous task blocks.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
<GuidAttribute("83CFBAAF-0DF9-403D-AE42-E738F0AC9735")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsTaskSchedulerService
[GuidAttribute("83CFBAAF-0DF9-403D-AE42-E738F0AC9735")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTaskSchedulerService
[GuidAttribute(L"83CFBAAF-0DF9-403D-AE42-E738F0AC9735")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsTaskSchedulerService
[<GuidAttribute("83CFBAAF-0DF9-403D-AE42-E738F0AC9735")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTaskSchedulerService = interface end
public interface IVsTaskSchedulerService
The IVsTaskSchedulerService type exposes the following members.
Methods
Name | Description | |
---|---|---|
ContinueWhenAllCompleted | Creates an asynchrous task that is run after all the provided tasks have either finished running or have been cancelled. | |
ContinueWhenAllCompletedEx | Creates a task (using the specified options) that is run after all the given tasks are completed. | |
CreateTask | Creates a task that is run on the given context. | |
CreateTaskCompletionSource | Creates a task completion source instance that can be used to start a task, or can cancel or append continuations. | |
CreateTaskCompletionSourceEx | Creates a task completion source instance with the specified options. | |
CreateTaskEx | Creates a task with the specified options that is run on the given context. |
Top
Extension Methods
Name | Description | |
---|---|---|
ContinueWhenAllCompleted(VsTaskRunContext, array<IVsTask[], IVsTaskBody) | Overloaded. Creates a Visual Studio task that is run after all the provided tasks have either finished running or have been cancelled. Overrides ContinueWhenAllCompleted. (Defined by VsTaskLibraryHelper.) | |
ContinueWhenAllCompleted(VsTaskRunContext, array<IVsTask[], VsTaskContinuationOptions, IVsTaskBody, Object) | Overloaded. Creates a task (using the specified options) that is run after all the given tasks are completed. Overrides ContinueWhenAllCompletedEx. (Defined by VsTaskLibraryHelper.) | |
CreateTask(VsTaskRunContext, IVsTaskBody) | Overloaded. Creates a task that is run on the given context. (Defined by VsTaskLibraryHelper.) | |
CreateTask(VsTaskRunContext, VsTaskCreationOptions, IVsTaskBody, Object) | Overloaded. Creates a task with the specified options that is run on the given context. (Defined by VsTaskLibraryHelper.) | |
CreateTaskCompletionSource | Creates a task completion source instance with the specified options. (Defined by VsTaskLibraryHelper.) | |
InvokeAsync<T> | transforms a task parallel library (TPL) task from an asynchronous function into an IVsTask. (Defined by VsTaskLibraryHelper.) | |
Yield | Yields the current operation on the thread. The rest of the asynchronous method will be scheduled as a continuation. (Defined by VsTaskLibraryHelper.) |
Top