IVsTask.ContinueWith(UInt32, IVsTaskBody) Method
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.
Appends the provided action to this task to be run after the task is run to completion. The action is invoked on the context provided.
public:
Microsoft::VisualStudio::Shell::Interop::IVsTask ^ ContinueWith(System::UInt32 context, Microsoft::VisualStudio::Shell::Interop::IVsTaskBody ^ pTaskBody);
public:
Microsoft::VisualStudio::Shell::Interop::IVsTask ^ ContinueWith(unsigned int context, Microsoft::VisualStudio::Shell::Interop::IVsTaskBody ^ pTaskBody);
Microsoft::VisualStudio::Shell::Interop::IVsTask ContinueWith(unsigned int context, Microsoft::VisualStudio::Shell::Interop::IVsTaskBody const & pTaskBody);
public Microsoft.VisualStudio.Shell.Interop.IVsTask ContinueWith (uint context, Microsoft.VisualStudio.Shell.Interop.IVsTaskBody pTaskBody);
abstract member ContinueWith : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsTaskBody -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Public Function ContinueWith (context As UInteger, pTaskBody As IVsTaskBody) As IVsTask
- context
- UInt32
[in] Where to run this task. Values are from __VSTASKRUNCONTEXT.
- pTaskBody
- IVsTaskBody
[in] Action to be executed.
A new IVsTask instance that has the current task as its parent.
This method is safe to access from any thread.