CloudTask.GetNodeFile(String, IEnumerable<BatchClientBehavior>) Méthode

Définition

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

public Microsoft.Azure.Batch.NodeFile GetNodeFile (string filePath, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.GetNodeFile : string * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> Microsoft.Azure.Batch.NodeFile
Public Function GetNodeFile (filePath As String, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing) As 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.

Retours

NodeFile représentant le fichier spécifié.

Remarques

Il s’agit d’une opération bloquante. Pour un équivalent non bloquant, consultez GetNodeFileAsync(String, IEnumerable<BatchClientBehavior>, CancellationToken).

S’applique à