CloudTask.GetNodeFileAsync Méthode

Définition

Obtient le spécifié NodeFile à partir du CloudTaskrépertoire de sur son nœud de calcul.

public System.Threading.Tasks.Task<Microsoft.Azure.Batch.NodeFile> GetNodeFileAsync (string filePath, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default, System.Threading.CancellationToken cancellationToken = default);
member this.GetNodeFileAsync : string * seq<Microsoft.Azure.Batch.BatchClientBehavior> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.NodeFile>
Public Function GetNodeFileAsync (filePath As String, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NodeFile)

Paramètres

filePath
String

Chemin d’accès du fichier à récupérer.

additionalBehaviors
IEnumerable<BatchClientBehavior>

Collection d’instances BatchClientBehavior appliquées à la demande de service Batch après le CustomBehaviors.

cancellationToken
CancellationToken

CancellationToken pour contrôler la durée de vie de l’opération asynchrone.

Retours

NodeFile représentant le fichier spécifié.

Remarques

L’opération obtenir le fichier s’exécute de manière asynchrone.

S’applique à