Condividi tramite


StartTaskInformation Constructors

Definition

Overloads

StartTaskInformation()

Initializes a new instance of the StartTaskInformation class.

StartTaskInformation(StartTaskState, DateTime, Int32, Nullable<DateTime>, Nullable<Int32>, TaskContainerExecutionInformation, TaskFailureInformation, Nullable<DateTime>, Nullable<TaskExecutionResult>)

Initializes a new instance of the StartTaskInformation class.

StartTaskInformation()

Source:
StartTaskInformation.cs

Initializes a new instance of the StartTaskInformation class.

public StartTaskInformation ();
Public Sub New ()

Applies to

StartTaskInformation(StartTaskState, DateTime, Int32, Nullable<DateTime>, Nullable<Int32>, TaskContainerExecutionInformation, TaskFailureInformation, Nullable<DateTime>, Nullable<TaskExecutionResult>)

Source:
StartTaskInformation.cs

Initializes a new instance of the StartTaskInformation class.

public StartTaskInformation (Microsoft.Azure.Batch.Protocol.Models.StartTaskState state, DateTime startTime, int retryCount, DateTime? endTime = default, int? exitCode = default, Microsoft.Azure.Batch.Protocol.Models.TaskContainerExecutionInformation containerInfo = default, Microsoft.Azure.Batch.Protocol.Models.TaskFailureInformation failureInfo = default, DateTime? lastRetryTime = default, Microsoft.Azure.Batch.Protocol.Models.TaskExecutionResult? result = default);
new Microsoft.Azure.Batch.Protocol.Models.StartTaskInformation : Microsoft.Azure.Batch.Protocol.Models.StartTaskState * DateTime * int * Nullable<DateTime> * Nullable<int> * Microsoft.Azure.Batch.Protocol.Models.TaskContainerExecutionInformation * Microsoft.Azure.Batch.Protocol.Models.TaskFailureInformation * Nullable<DateTime> * Nullable<Microsoft.Azure.Batch.Protocol.Models.TaskExecutionResult> -> Microsoft.Azure.Batch.Protocol.Models.StartTaskInformation
Public Sub New (state As StartTaskState, startTime As DateTime, retryCount As Integer, 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 lastRetryTime As Nullable(Of DateTime) = Nothing, Optional result As Nullable(Of TaskExecutionResult) = Nothing)

Parameters

state
StartTaskState

The state of the StartTask on the Compute Node.

startTime
DateTime

The time at which the StartTask started running.

retryCount
Int32

The number of times the Task has been retried by the Batch service.

endTime
Nullable<DateTime>

The time at which the StartTask stopped running.

exitCode
Nullable<Int32>

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

containerInfo
TaskContainerExecutionInformation

Information about the container under which the Task is executing.

failureInfo
TaskFailureInformation

Information describing the Task failure, if any.

lastRetryTime
Nullable<DateTime>

The most recent time at which a retry of the Task started running.

result
Nullable<TaskExecutionResult>

The result of the Task execution.

Applies to