Share via


SubtaskInformation Constructors

Definition

Overloads

SubtaskInformation()

Initializes a new instance of the SubtaskInformation class.

SubtaskInformation(Nullable<Int32>, ComputeNodeInformation, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, TaskContainerExecutionInformation, TaskFailureInformation, Nullable<SubtaskState>, Nullable<DateTime>, Nullable<SubtaskState>, Nullable<DateTime>, Nullable<TaskExecutionResult>)

Initializes a new instance of the SubtaskInformation class.

SubtaskInformation()

Source:
SubtaskInformation.cs

Initializes a new instance of the SubtaskInformation class.

public SubtaskInformation ();
Public Sub New ()

Applies to

SubtaskInformation(Nullable<Int32>, ComputeNodeInformation, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, TaskContainerExecutionInformation, TaskFailureInformation, Nullable<SubtaskState>, Nullable<DateTime>, Nullable<SubtaskState>, Nullable<DateTime>, Nullable<TaskExecutionResult>)

Source:
SubtaskInformation.cs

Initializes a new instance of the SubtaskInformation class.

public SubtaskInformation (int? id = default, Microsoft.Azure.Batch.Protocol.Models.ComputeNodeInformation nodeInfo = default, DateTime? startTime = default, DateTime? endTime = default, int? exitCode = default, Microsoft.Azure.Batch.Protocol.Models.TaskContainerExecutionInformation containerInfo = default, Microsoft.Azure.Batch.Protocol.Models.TaskFailureInformation failureInfo = default, Microsoft.Azure.Batch.Protocol.Models.SubtaskState? state = default, DateTime? stateTransitionTime = default, Microsoft.Azure.Batch.Protocol.Models.SubtaskState? previousState = default, DateTime? previousStateTransitionTime = default, Microsoft.Azure.Batch.Protocol.Models.TaskExecutionResult? result = default);
new Microsoft.Azure.Batch.Protocol.Models.SubtaskInformation : Nullable<int> * Microsoft.Azure.Batch.Protocol.Models.ComputeNodeInformation * Nullable<DateTime> * Nullable<DateTime> * Nullable<int> * Microsoft.Azure.Batch.Protocol.Models.TaskContainerExecutionInformation * Microsoft.Azure.Batch.Protocol.Models.TaskFailureInformation * Nullable<Microsoft.Azure.Batch.Protocol.Models.SubtaskState> * Nullable<DateTime> * Nullable<Microsoft.Azure.Batch.Protocol.Models.SubtaskState> * Nullable<DateTime> * Nullable<Microsoft.Azure.Batch.Protocol.Models.TaskExecutionResult> -> Microsoft.Azure.Batch.Protocol.Models.SubtaskInformation
Public Sub New (Optional id As Nullable(Of Integer) = Nothing, Optional nodeInfo As ComputeNodeInformation = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional exitCode As Nullable(Of Integer) = Nothing, Optional containerInfo As TaskContainerExecutionInformation = Nothing, Optional failureInfo As TaskFailureInformation = Nothing, Optional state As Nullable(Of SubtaskState) = Nothing, Optional stateTransitionTime As Nullable(Of DateTime) = Nothing, Optional previousState As Nullable(Of SubtaskState) = Nothing, Optional previousStateTransitionTime As Nullable(Of DateTime) = Nothing, Optional result As Nullable(Of TaskExecutionResult) = Nothing)

Parameters

id
Nullable<Int32>

The ID of the subtask.

nodeInfo
ComputeNodeInformation

Information about the Compute Node on which the subtask ran.

startTime
Nullable<DateTime>

The time at which the subtask started running. If the subtask has been restarted or retried, this is the most recent time at which the subtask started running.

endTime
Nullable<DateTime>

The time at which the subtask completed.

exitCode
Nullable<Int32>

The exit code of the program specified on the subtask command line.

containerInfo
TaskContainerExecutionInformation

Information about the container under which the Task is executing.

failureInfo
TaskFailureInformation

Information describing the Task failure, if any.

state
Nullable<SubtaskState>

The current state of the subtask.

stateTransitionTime
Nullable<DateTime>

The time at which the subtask entered its current state.

previousState
Nullable<SubtaskState>

The previous state of the subtask.

previousStateTransitionTime
Nullable<DateTime>

The time at which the subtask entered its previous state.

result
Nullable<TaskExecutionResult>

The result of the Task execution.

Applies to