Share via


ILaunchDebugTargetProvider5.LaunchDebugTargetAsync Method

Definition

Launch a Debug Context asynchoronously

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

Parameters

workspaceContext
IWorkspace

Workspace context

serviceProvider
IServiceProvider

The service provider context

debugLaunchActionContext
DebugLaunchActionContext

The Debug context to launch

cancellationToken
CancellationToken

Cancellation token

Returns

A task representing the asynchronous operation

Applies to