ILaunchDebugTargetProvider5.LaunchDebugTargetAsync Method
Definition
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.
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