다음을 통해 공유


IFileStagingProvider.StageFilesAsync Method

Definition

Begins an asynchronous operation to stage all of the files in the given collection. When file staging begins, all instances of IFileStagingProvider are bucketized by their implementation type. This produces one collection of instances per implementation. Each implementation of IFileStagingProvider has a StageFilesAsync() method. That method is called once with the collection produced by the bucketization step oulined above.

public System.Threading.Tasks.Task StageFilesAsync (System.Collections.Generic.List<Microsoft.Azure.Batch.FileStaging.IFileStagingProvider> filesToStage, Microsoft.Azure.Batch.IFileStagingArtifact fileStagingArtifact);
abstract member StageFilesAsync : System.Collections.Generic.List<Microsoft.Azure.Batch.FileStaging.IFileStagingProvider> * Microsoft.Azure.Batch.IFileStagingArtifact -> System.Threading.Tasks.Task
Public Function StageFilesAsync (filesToStage As List(Of IFileStagingProvider), fileStagingArtifact As IFileStagingArtifact) As Task

Parameters

filesToStage
List<IFileStagingProvider>

Collection of all file staging objects to be staged. All instances must have the same implementation type.

fileStagingArtifact
IFileStagingArtifact

IFileStagingProvider specific staging artifacts including error/progress.

Returns

A Task object that represents the asynchronous operation.

Applies to