Freigeben über


FileOperationsExtensions.GetPropertiesFromTaskAsync Methode

Definition

Ruft die Eigenschaften der angegebenen Taskdatei ab.

public static System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.FileGetPropertiesFromTaskHeaders> GetPropertiesFromTaskAsync (this Microsoft.Azure.Batch.Protocol.IFileOperations operations, string jobId, string taskId, string filePath, Microsoft.Azure.Batch.Protocol.Models.FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPropertiesFromTaskAsync : Microsoft.Azure.Batch.Protocol.IFileOperations * string * string * string * Microsoft.Azure.Batch.Protocol.Models.FileGetPropertiesFromTaskOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.FileGetPropertiesFromTaskHeaders>
<Extension()>
Public Function GetPropertiesFromTaskAsync (operations As IFileOperations, jobId As String, taskId As String, filePath As String, Optional fileGetPropertiesFromTaskOptions As FileGetPropertiesFromTaskOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of FileGetPropertiesFromTaskHeaders)

Parameter

operations
IFileOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

jobId
String

Die ID des Auftrags, der den Task enthält.

taskId
String

Die ID der Aufgabe, deren Datei Sie die Eigenschaften abrufen möchten.

filePath
String

Der Pfad zur Taskdatei, deren Eigenschaften Sie abrufen möchten.

fileGetPropertiesFromTaskOptions
FileGetPropertiesFromTaskOptions

Zusätzliche Parameter für den Vorgang

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: