ComputeBatchModelFactory.BatchTaskInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of BatchTaskInfo.
public static Azure.Compute.Batch.BatchTaskInfo BatchTaskInfo (string taskUrl = default, string jobId = default, string taskId = default, int? subtaskId = default, Azure.Compute.Batch.BatchTaskState taskState = default, Azure.Compute.Batch.BatchTaskExecutionInfo executionInfo = default);
static member BatchTaskInfo : string * string * string * Nullable<int> * Azure.Compute.Batch.BatchTaskState * Azure.Compute.Batch.BatchTaskExecutionInfo -> Azure.Compute.Batch.BatchTaskInfo
Public Shared Function BatchTaskInfo (Optional taskUrl As String = Nothing, Optional jobId As String = Nothing, Optional taskId As String = Nothing, Optional subtaskId As Nullable(Of Integer) = Nothing, Optional taskState As BatchTaskState = Nothing, Optional executionInfo As BatchTaskExecutionInfo = Nothing) As BatchTaskInfo
Parameters
- taskUrl
- String
The URL of the Task.
- jobId
- String
The ID of the Job to which the Task belongs.
- taskId
- String
The ID of the Task.
- taskState
- BatchTaskState
The current state of the Task.
- executionInfo
- BatchTaskExecutionInfo
Information about the execution of the Task.
Returns
A new BatchTaskInfo instance for mocking.
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for .NET