Freigeben über


BulkFileOperation.QueryBulkFileOperationAsync Method

Definition

Start bulk file operation. This method is called by customer prior start some bulk file operation, for example git checkout.

public:
 static System::Threading::Tasks::Task<Microsoft::VisualStudio::Shell::BulkFileOperation ^> ^ QueryBulkFileOperationAsync(System::Collections::Generic::IEnumerable<System::String ^> ^ changingFiles, System::Collections::Generic::IEnumerable<System::String ^> ^ changingFolders, System::Threading::CancellationToken cancellationToken);
public static System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.BulkFileOperation> QueryBulkFileOperationAsync (System.Collections.Generic.IEnumerable<string> changingFiles, System.Collections.Generic.IEnumerable<string> changingFolders, System.Threading.CancellationToken cancellationToken);
static member QueryBulkFileOperationAsync : seq<string> * seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.BulkFileOperation>
Public Shared Function QueryBulkFileOperationAsync (changingFiles As IEnumerable(Of String), changingFolders As IEnumerable(Of String), cancellationToken As CancellationToken) As Task(Of BulkFileOperation)

Parameters

changingFiles
IEnumerable<String>

Expected list of files to modify. Each entry is a full path to file

changingFolders
IEnumerable<String>

Expected list of folders to modify. Each entry is a full path to folder. It does mean all files under this folder could be changed.

cancellationToken
CancellationToken

To cancel this operation

Returns

BulkFileOperation instance which is ready to Begin bulk file operation

Applies to