Partager via


IProjectUpdateActionExecutor.OnBeforeExecutingBatchAsync Method

Definition

Notifies the executor to prepare the operation before modifying the project. It allows some actions to capture some project states.

public System.Threading.Tasks.Task OnBeforeExecutingBatchAsync (System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.ProjectSystem.Query.Execution.QueryProcessResult<Microsoft.VisualStudio.ProjectSystem.Query.IEntityValue>> allItems, System.Threading.CancellationToken cancellationToken);
abstract member OnBeforeExecutingBatchAsync : System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.ProjectSystem.Query.Execution.QueryProcessResult<Microsoft.VisualStudio.ProjectSystem.Query.IEntityValue>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function OnBeforeExecutingBatchAsync (allItems As IReadOnlyList(Of QueryProcessResult(Of IEntityValue)), cancellationToken As CancellationToken) As Task

Parameters

allItems
IReadOnlyList<QueryProcessResult<IEntityValue>>

All items to be updated.

cancellationToken
CancellationToken

A cancellation token to be triggered when the operation is aborted.

Returns

A task finishes when it is done.

Applies to