IVsTaskCompletionSource.AddDependentTask(IVsTask) 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.
Adds the specified task to the task completion sources dependent task list. Then if Wait() is called on IVsTaskCompletionSource.Task
, the UI can be unblocked correctly.
public:
void AddDependentTask(Microsoft::VisualStudio::Shell::Interop::IVsTask ^ pTask);
public:
void AddDependentTask(Microsoft::VisualStudio::Shell::Interop::IVsTask ^ pTask);
void AddDependentTask(Microsoft::VisualStudio::Shell::Interop::IVsTask const & pTask);
public void AddDependentTask (Microsoft.VisualStudio.Shell.Interop.IVsTask pTask);
abstract member AddDependentTask : Microsoft.VisualStudio.Shell.Interop.IVsTask -> unit
Public Sub AddDependentTask (pTask As IVsTask)
Parameters
- pTask
- IVsTask
The task to add to the list.
Remarks
This method is safe to access from any thread.