IDeployProvider.ExecuteDeployAsync 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.
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.
- cancellationToken
- CancellationToken
The task cancellation token.
Returns
True if the deploy execution succeeded.