Condividi tramite


TaskInformation Constructors

Definition

Overloads

TaskInformation()

Initializes a new instance of the TaskInformation class.

TaskInformation(TaskState, String, String, String, Nullable<Int32>, TaskExecutionInformation)

Initializes a new instance of the TaskInformation class.

TaskInformation()

Source:
TaskInformation.cs

Initializes a new instance of the TaskInformation class.

public TaskInformation ();
Public Sub New ()

Applies to

TaskInformation(TaskState, String, String, String, Nullable<Int32>, TaskExecutionInformation)

Source:
TaskInformation.cs

Initializes a new instance of the TaskInformation class.

public TaskInformation (Microsoft.Azure.Batch.Protocol.Models.TaskState taskState, string taskUrl = default, string jobId = default, string taskId = default, int? subtaskId = default, Microsoft.Azure.Batch.Protocol.Models.TaskExecutionInformation executionInfo = default);
new Microsoft.Azure.Batch.Protocol.Models.TaskInformation : Microsoft.Azure.Batch.Protocol.Models.TaskState * string * string * string * Nullable<int> * Microsoft.Azure.Batch.Protocol.Models.TaskExecutionInformation -> Microsoft.Azure.Batch.Protocol.Models.TaskInformation
Public Sub New (taskState As TaskState, Optional taskUrl As String = Nothing, Optional jobId As String = Nothing, Optional taskId As String = Nothing, Optional subtaskId As Nullable(Of Integer) = Nothing, Optional executionInfo As TaskExecutionInformation = Nothing)

Parameters

taskState
TaskState

The current state of the Task.

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.

subtaskId
Nullable<Int32>

The ID of the subtask if the Task is a multi-instance Task.

executionInfo
TaskExecutionInformation

Information about the execution of the Task.

Applies to