NodeFileOperationsExtensions.GetFromTaskAsync Method (INodeFileOperations, String, String, String, Stream, NodeFileGetParameters)

 

Gets the content of the specified task file.

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

Syntax

public static Task<NodeFileGetResponse> GetFromTaskAsync(
    this INodeFileOperations operations,
    string jobId,
    string taskId,
    string fileName,
    Stream destinationStream,
    NodeFileGetParameters parameters
)
public:
[ExtensionAttribute]
static Task<NodeFileGetResponse^>^ GetFromTaskAsync(
    INodeFileOperations^ operations,
    String^ jobId,
    String^ taskId,
    String^ fileName,
    Stream^ destinationStream,
    NodeFileGetParameters^ parameters
)
static member GetFromTaskAsync : 
        operations:INodeFileOperations *
        jobId:string *
        taskId:string *
        fileName:string *
        destinationStream:Stream *
        parameters:NodeFileGetParameters -> Task<NodeFileGetResponse>
<ExtensionAttribute>
Public Shared Function GetFromTaskAsync (
    operations As INodeFileOperations,
    jobId As String,
    taskId As String,
    fileName As String,
    destinationStream As Stream,
    parameters As NodeFileGetParameters
) As Task(Of NodeFileGetResponse)

Parameters

  • jobId
    Type: System.String

    Required. The id of the job that contains the task.

  • taskId
    Type: System.String

    Required. The id of the task whose file you want to retrieve.

  • fileName
    Type: System.String

    Required. 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

NodeFileOperationsExtensions Class
Microsoft.Azure.Batch.Protocol Namespace

Return to top