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
operations
Type: Microsoft.Azure.Batch.Protocol.ICloudTaskOperationsReference to the Microsoft.Azure.Batch.Protocol.ICloudTaskOperations.
jobId
Type: System.StringRequired. The id of the job that contains the task.
taskId
Type: System.StringRequired. The id of the task to get information about.
parameters
Type: Microsoft.Azure.Batch.Protocol.Models.CloudTaskGetParametersRequired. The parameters for the request.
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