Condividi tramite


TaskExecutionInformation Constructors

Definition

Overloads

TaskExecutionInformation()

Initializes a new instance of the TaskExecutionInformation class.

TaskExecutionInformation(Int32, Int32, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, TaskContainerExecutionInformation, TaskFailureInformation, Nullable<DateTime>, Nullable<DateTime>, Nullable<TaskExecutionResult>)

Initializes a new instance of the TaskExecutionInformation class.

TaskExecutionInformation()

Source:
TaskExecutionInformation.cs

Initializes a new instance of the TaskExecutionInformation class.

public TaskExecutionInformation ();
Public Sub New ()

Applies to

TaskExecutionInformation(Int32, Int32, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, TaskContainerExecutionInformation, TaskFailureInformation, Nullable<DateTime>, Nullable<DateTime>, Nullable<TaskExecutionResult>)

Source:
TaskExecutionInformation.cs

Initializes a new instance of the TaskExecutionInformation class.

public TaskExecutionInformation (int retryCount, int requeueCount, 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, DateTime? lastRetryTime = default, DateTime? lastRequeueTime = default, Microsoft.Azure.Batch.Protocol.Models.TaskExecutionResult? result = default);
new Microsoft.Azure.Batch.Protocol.Models.TaskExecutionInformation : int * int * Nullable<DateTime> * Nullable<DateTime> * Nullable<int> * Microsoft.Azure.Batch.Protocol.Models.TaskContainerExecutionInformation * Microsoft.Azure.Batch.Protocol.Models.TaskFailureInformation * Nullable<DateTime> * Nullable<DateTime> * Nullable<Microsoft.Azure.Batch.Protocol.Models.TaskExecutionResult> -> Microsoft.Azure.Batch.Protocol.Models.TaskExecutionInformation
Public Sub New (retryCount As Integer, requeueCount As Integer, 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 lastRetryTime As Nullable(Of DateTime) = Nothing, Optional lastRequeueTime As Nullable(Of DateTime) = Nothing, Optional result As Nullable(Of TaskExecutionResult) = Nothing)

Parameters

retryCount
Int32

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

requeueCount
Int32

The number of times the Task has been requeued by the Batch service as the result of a user request.

startTime
Nullable<DateTime>

The time at which the Task started running.

endTime
Nullable<DateTime>

The time at which the Task completed.

exitCode
Nullable<Int32>

The exit code of the program specified on the Task 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.

lastRequeueTime
Nullable<DateTime>

The most recent time at which the Task has been requeued by the Batch service as the result of a user request.

result
Nullable<TaskExecutionResult>

The result of the Task execution.

Applies to