CloudTaskOperationsExtensions.GetAsync Method (ICloudTaskOperations, String, String, CloudTaskGetParameters)

 

Gets information about the specified task.

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

Syntax

public static Task<CloudTaskGetResponse> GetAsync(
    this ICloudTaskOperations operations,
    string jobId,
    string taskId,
    CloudTaskGetParameters parameters
)
public:
[ExtensionAttribute]
static Task<CloudTaskGetResponse^>^ GetAsync(
    ICloudTaskOperations^ operations,
    String^ jobId,
    String^ taskId,
    CloudTaskGetParameters^ parameters
)
static member GetAsync : 
        operations:ICloudTaskOperations *
        jobId:string *
        taskId:string *
        parameters:CloudTaskGetParameters -> Task<CloudTaskGetResponse>
<ExtensionAttribute>
Public Shared Function GetAsync (
    operations As ICloudTaskOperations,
    jobId As String,
    taskId As String,
    parameters As CloudTaskGetParameters
) As Task(Of CloudTaskGetResponse)

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 to get information about.

Return Value

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

Response to a CloudTaskOperations.Get request.

See Also

CloudTaskOperationsExtensions Class
Microsoft.Azure.Batch.Protocol Namespace

Return to top