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.StringThe id of the pool that contains the compute node.
nodeId
Type: System.StringThe id of the compute node that contains the file.
fileName
Type: System.StringThe path to the task file that you want to get the content of.
destinationStream
Type: System.IO.StreamA Stream to which to write the file content.
parameters
Type: Microsoft.Azure.Batch.Protocol.Models.NodeFileGetParametersThe parameters for the request.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
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