Share via


ComputeNode.GetNodeFileAsync Methode

Definition

Startet eine asynchrone Anforderung, um die angegebene NodeFile-Datei abzurufen.

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)

Parameter

filePath
String

Der Pfad der abzurufenden Datei.

additionalBehaviors
IEnumerable<BatchClientBehavior>

Eine Auflistung von BatchClientBehavior-Instanzen, die nach den CustomBehaviors auf das aktuelle Objekt angewendet werden.

cancellationToken
CancellationToken

Ein CancellationToken zum Steuern der Lebensdauer des asynchronen Vorgangs.

Gibt zurück

Ein Task-Objekt, das den asynchronen Vorgang darstellt.

Gilt für: