Share via


IDeployProvider.ExecuteDeployAsync Method

Definition

Executes the deploy action.

public System.Threading.Tasks.Task<bool> ExecuteDeployAsync (Microsoft.VisualStudio.Workspace.IWorkspace workspace, IServiceProvider serviceProvider, Microsoft.VisualStudio.Workspace.Deploy.DeployContext deployContext, Func<string,System.Threading.Tasks.Task> outputStringToBuildOutputWindowAsync, System.Threading.CancellationToken cancellationToken);
abstract member ExecuteDeployAsync : Microsoft.VisualStudio.Workspace.IWorkspace * IServiceProvider * Microsoft.VisualStudio.Workspace.Deploy.DeployContext * Func<string, System.Threading.Tasks.Task> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function ExecuteDeployAsync (workspace As IWorkspace, serviceProvider As IServiceProvider, deployContext As DeployContext, outputStringToBuildOutputWindowAsync As Func(Of String, Task), cancellationToken As CancellationToken) As Task(Of Boolean)

Parameters

workspace
IWorkspace

The workspace context.

serviceProvider
IServiceProvider

The service provider context.

deployContext
DeployContext

The context and settings for deployment.

outputStringToBuildOutputWindowAsync
Func<String,Task>
cancellationToken
CancellationToken

The task cancellation token.

Returns

True if the deploy execution succeeded.

Applies to