Delen via


IVsDebugLaunchTargetProvider4.LaunchDebugTargetAsync Method

Definition

Debug launch target provider takes full responsibility to launch debug target and debugger as part of implementing this method.

public System.Threading.Tasks.Task LaunchDebugTargetAsync (Microsoft.VisualStudio.Workspace.IWorkspace workspaceContext, IServiceProvider serviceProvider, Microsoft.VisualStudio.Shell.Interop.VsDebugTargetInfo4 vsDebugTargetInfo, Microsoft.VisualStudio.Workspace.Debug.DebugLaunchActionContext debugLaunchContext, System.Threading.CancellationToken cancellationToken);
abstract member LaunchDebugTargetAsync : Microsoft.VisualStudio.Workspace.IWorkspace * IServiceProvider * Microsoft.VisualStudio.Shell.Interop.VsDebugTargetInfo4 * Microsoft.VisualStudio.Workspace.Debug.DebugLaunchActionContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function LaunchDebugTargetAsync (workspaceContext As IWorkspace, serviceProvider As IServiceProvider, vsDebugTargetInfo As VsDebugTargetInfo4, debugLaunchContext As DebugLaunchActionContext, cancellationToken As CancellationToken) As Task

Parameters

workspaceContext
IWorkspace

Workspace context

serviceProvider
IServiceProvider

The service provider context

vsDebugTargetInfo
VsDebugTargetInfo4

The VS specific target info struct used by IVsDebugger4

debugLaunchContext
DebugLaunchActionContext

Debug launch context to launch

cancellationToken
CancellationToken

Cancellation token

Returns

A Task representing the asynchronous operation

Applies to