Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates and interacts with Asynchrous task blocks.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("83CFBAAF-0DF9-403D-AE42-E738F0AC9735")> _
Public Interface IVsTaskSchedulerService
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("83CFBAAF-0DF9-403D-AE42-E738F0AC9735")]
public interface IVsTaskSchedulerService
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"83CFBAAF-0DF9-403D-AE42-E738F0AC9735")]
public interface class IVsTaskSchedulerService
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("83CFBAAF-0DF9-403D-AE42-E738F0AC9735")>]
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's run after the provided tasks have either finished running or been cancelled. Overrides ContinueWhenAllCompleted. (Defined by VsTaskLibraryHelper.) |
![]() |
ContinueWhenAllCompleted(VsTaskRunContext, array<IVsTask[], VsTaskContinuationOptions, IVsTaskBody, Object) | Overloaded. Uses the specified options to create a task that's run after the given tasks are completed. Overrides ContinueWhenAllCompletedEx. (Defined by VsTaskLibraryHelper.) |
![]() |
CreateTask(VsTaskRunContext, IVsTaskBody) | Overloaded. Creates a task that's 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