INodeFileOperations.GetFromComputeNodeAsync Method (String, String, String, Stream, NodeFileGetParameters, CancellationToken)

 

Gets the content of the specified task file.

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

Syntax

Task<NodeFileGetResponse> GetFromComputeNodeAsync(
    string poolId,
    string nodeId,
    string fileName,
    Stream destinationStream,
    NodeFileGetParameters parameters,
    CancellationToken cancellationToken
)
Task<NodeFileGetResponse^>^ GetFromComputeNodeAsync(
    String^ poolId,
    String^ nodeId,
    String^ fileName,
    Stream^ destinationStream,
    NodeFileGetParameters^ parameters,
    CancellationToken cancellationToken
)
abstract GetFromComputeNodeAsync : 
        poolId:string *
        nodeId:string *
        fileName:string *
        destinationStream:Stream *
        parameters:NodeFileGetParameters *
        cancellationToken:CancellationToken -> Task<NodeFileGetResponse>
Function GetFromComputeNodeAsync (
    poolId As String,
    nodeId As String,
    fileName As String,
    destinationStream As Stream,
    parameters As NodeFileGetParameters,
    cancellationToken As CancellationToken
) As Task(Of NodeFileGetResponse)

Parameters

  • poolId
    Type: System.String

    The id of the pool that contains the compute node.

  • nodeId
    Type: System.String

    The id of the compute node that contains the file.

  • fileName
    Type: System.String

    The path to the task file that you want to get the content of.

Return Value

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

Response to a NodeFileOperations.GetFromComputeNode or NodeFileOperations.GetFromTask request.

See Also

INodeFileOperations Interface
Microsoft.Azure.Batch.Protocol Namespace

Return to top