Sdílet prostřednictvím


VsTaskLibraryHelper.ContinueWith Method

Definition

Overloads

ContinueWith(IVsTask, VsTaskRunContext, IVsTaskBody)

Override for IVsTask.ContinueWith to use proper enum types.

ContinueWith(IVsTask, VsTaskRunContext, VsTaskContinuationOptions, IVsTaskBody, Object)

Override for IVsTask.ContinueWithEx to use proper enum types.

ContinueWith(IVsTask, VsTaskRunContext, IVsTaskBody)

Override for IVsTask.ContinueWith to use proper enum types.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::VisualStudio::Shell::Interop::IVsTask ^ ContinueWith(Microsoft::VisualStudio::Shell::Interop::IVsTask ^ task, Microsoft::VisualStudio::Shell::VsTaskRunContext context, Microsoft::VisualStudio::Shell::Interop::IVsTaskBody ^ body);
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::VisualStudio::Shell::Interop::IVsTask ^ ContinueWith(Microsoft::VisualStudio::Shell::Interop::IVsTask ^ task, Microsoft::VisualStudio::Shell::VsTaskRunContext context, Microsoft::VisualStudio::Shell::Interop::IVsTaskBody ^ body);
public static Microsoft.VisualStudio.Shell.Interop.IVsTask ContinueWith (this Microsoft.VisualStudio.Shell.Interop.IVsTask task, Microsoft.VisualStudio.Shell.VsTaskRunContext context, Microsoft.VisualStudio.Shell.Interop.IVsTaskBody body);
static member ContinueWith : Microsoft.VisualStudio.Shell.Interop.IVsTask * Microsoft.VisualStudio.Shell.VsTaskRunContext * Microsoft.VisualStudio.Shell.Interop.IVsTaskBody -> Microsoft.VisualStudio.Shell.Interop.IVsTask
<Extension()>
Public Function ContinueWith (task As IVsTask, context As VsTaskRunContext, body As IVsTaskBody) As IVsTask

Parameters

task
IVsTask

[in] The task to which to append the action.

context
VsTaskRunContext

[in] Where to run this task.

body
IVsTaskBody

[in] The action to be executed.

Returns

A new IVsTask instance that has the current task as its parent.

Remarks

See comments for IVsTask for method documentation.

Applies to

ContinueWith(IVsTask, VsTaskRunContext, VsTaskContinuationOptions, IVsTaskBody, Object)

Override for IVsTask.ContinueWithEx to use proper enum types.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::VisualStudio::Shell::Interop::IVsTask ^ ContinueWith(Microsoft::VisualStudio::Shell::Interop::IVsTask ^ task, Microsoft::VisualStudio::Shell::VsTaskRunContext context, Microsoft::VisualStudio::Shell::VsTaskContinuationOptions options, Microsoft::VisualStudio::Shell::Interop::IVsTaskBody ^ taskBody, System::Object ^ asyncState);
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::VisualStudio::Shell::Interop::IVsTask ^ ContinueWith(Microsoft::VisualStudio::Shell::Interop::IVsTask ^ task, Microsoft::VisualStudio::Shell::VsTaskRunContext context, Microsoft::VisualStudio::Shell::VsTaskContinuationOptions options, Microsoft::VisualStudio::Shell::Interop::IVsTaskBody ^ taskBody, Platform::Object ^ asyncState);
public static Microsoft.VisualStudio.Shell.Interop.IVsTask ContinueWith (this Microsoft.VisualStudio.Shell.Interop.IVsTask task, Microsoft.VisualStudio.Shell.VsTaskRunContext context, Microsoft.VisualStudio.Shell.VsTaskContinuationOptions options, Microsoft.VisualStudio.Shell.Interop.IVsTaskBody taskBody, object asyncState);
static member ContinueWith : Microsoft.VisualStudio.Shell.Interop.IVsTask * Microsoft.VisualStudio.Shell.VsTaskRunContext * Microsoft.VisualStudio.Shell.VsTaskContinuationOptions * Microsoft.VisualStudio.Shell.Interop.IVsTaskBody * obj -> Microsoft.VisualStudio.Shell.Interop.IVsTask
<Extension()>
Public Function ContinueWith (task As IVsTask, context As VsTaskRunContext, options As VsTaskContinuationOptions, taskBody As IVsTaskBody, asyncState As Object) As IVsTask

Parameters

task
IVsTask

[in] The task to which to append the action.

context
VsTaskRunContext

[in] Where to run this task.

options
VsTaskContinuationOptions

[in] Enables the setting of TPL Task continuation options.

taskBody
IVsTaskBody

[in] The action to be executed.

asyncState
Object

[in] The asynchronous state for the task.

Returns

A new IVsTask instance that has the current task as its parent.

Remarks

See comments for IVsTask for method documentation.

Applies to