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

Definição

Obtém o especificado NodeFile do CloudTaskdiretório do em seu nó de computação.

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

Parâmetros

filePath
String

O caminho do arquivo a ser recuperado.

additionalBehaviors
IEnumerable<BatchClientBehavior>

Uma coleção de BatchClientBehavior instâncias que são aplicadas à solicitação de serviço do Lote após o CustomBehaviors.

Retornos

Um NodeFile que representa o arquivo especificado.

Comentários

Esta é uma operação de bloqueio. Para obter um equivalente sem bloqueio, consulte GetNodeFileAsync(String, IEnumerable<BatchClientBehavior>, CancellationToken).

Aplica-se a