IVsTaskCompletionSource.AddDependentTask(IVsTask) Method

Definition

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.

Applies to