Compartir a través de


IVsTaskBody.DoWork(IVsTask, UInt32, IVsTask[], Object) Method

Definition

Performs the task work.

public:
 void DoWork(Microsoft::VisualStudio::Shell::Interop::IVsTask ^ pTask, System::UInt32 dwCount, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsTask ^> ^ pParentTasks, [Runtime::InteropServices::Out] System::Object ^ % pResult);
void DoWork(Microsoft::VisualStudio::Shell::Interop::IVsTask const & pTask, unsigned int dwCount, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsTask const &> const & pParentTasks, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & pResult);
public void DoWork (Microsoft.VisualStudio.Shell.Interop.IVsTask pTask, uint dwCount, Microsoft.VisualStudio.Shell.Interop.IVsTask[] pParentTasks, out object pResult);
abstract member DoWork : Microsoft.VisualStudio.Shell.Interop.IVsTask * uint32 * Microsoft.VisualStudio.Shell.Interop.IVsTask[] * obj -> unit
Public Sub DoWork (pTask As IVsTask, dwCount As UInteger, pParentTasks As IVsTask(), ByRef pResult As Object)

Parameters

pTask
IVsTask

The task.

dwCount
UInt32

The number of parent tasks.

pParentTasks
IVsTask[]

The parent tasks.

pResult
Object

The result.

Remarks

This method is safe to access from any thread.

Applies to