Share via


JobOperations.GetNodeFileAsync Method (String, String, String, IEnumerable<BatchClientBehavior>)

 

Gets the specified NodeFile from the specified task's directory on its compute node.

Namespace:   Microsoft.Azure.Batch
Assembly:  Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)

Syntax

public Task<NodeFile> GetNodeFileAsync(
    string jobId,
    string taskId,
    string fileName,
    IEnumerable<BatchClientBehavior> additionalBehaviors = null
)
public:
Task<NodeFile^>^ GetNodeFileAsync(
    String^ jobId,
    String^ taskId,
    String^ fileName,
    IEnumerable<BatchClientBehavior^>^ additionalBehaviors = null
)
member GetNodeFileAsync : 
        jobId:string *
        taskId:string *
        fileName:string *
        additionalBehaviors:IEnumerable<BatchClientBehavior> = null -> Task<NodeFile>
Public Function GetNodeFileAsync (
    jobId As String,
    taskId As String,
    fileName As String,
    additionalBehaviors As IEnumerable(Of BatchClientBehavior)
) As Task(Of NodeFile)

Parameters

  • jobId
    Type: System.String

    The id of the job containing the task.

Return Value

Type: System.Threading.Tasks.Task<NodeFile>

A NodeFile representing the specified file.

Remarks

The get file operation runs asynchronously.

See Also

JobOperations Class
Microsoft.Azure.Batch Namespace

Return to top