Share via


JobPreparationTaskExecutionInformation Constructors

Definition

Overloads

JobPreparationTaskExecutionInformation()

Initializes a new instance of the JobPreparationTaskExecutionInformation class.

JobPreparationTaskExecutionInformation(DateTime, JobPreparationTaskState, Int32, Nullable<DateTime>, String, String, Nullable<Int32>, TaskContainerExecutionInformation, TaskFailureInformation, Nullable<DateTime>, Nullable<TaskExecutionResult>)

Initializes a new instance of the JobPreparationTaskExecutionInformation class.

JobPreparationTaskExecutionInformation()

Source:
JobPreparationTaskExecutionInformation.cs

Initializes a new instance of the JobPreparationTaskExecutionInformation class.

public JobPreparationTaskExecutionInformation ();
Public Sub New ()

Applies to

JobPreparationTaskExecutionInformation(DateTime, JobPreparationTaskState, Int32, Nullable<DateTime>, String, String, Nullable<Int32>, TaskContainerExecutionInformation, TaskFailureInformation, Nullable<DateTime>, Nullable<TaskExecutionResult>)

Source:
JobPreparationTaskExecutionInformation.cs

Initializes a new instance of the JobPreparationTaskExecutionInformation class.

public JobPreparationTaskExecutionInformation (DateTime startTime, Microsoft.Azure.Batch.Protocol.Models.JobPreparationTaskState state, int retryCount, DateTime? endTime = default, string taskRootDirectory = default, string taskRootDirectoryUrl = 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.JobPreparationTaskExecutionInformation : DateTime * Microsoft.Azure.Batch.Protocol.Models.JobPreparationTaskState * int * Nullable<DateTime> * string * string * 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.JobPreparationTaskExecutionInformation
Public Sub New (startTime As DateTime, state As JobPreparationTaskState, retryCount As Integer, Optional endTime As Nullable(Of DateTime) = Nothing, Optional taskRootDirectory As String = Nothing, Optional taskRootDirectoryUrl As String = 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

startTime
DateTime

The time at which the Task started running.

state
JobPreparationTaskState

The current state of the Job Preparation Task on the Compute Node.

retryCount
Int32

The number of times the Task has been retried by the Batch service. Task application failures (non-zero exit code) are retried, pre-processing errors (the Task could not be run) and file upload errors are not retried. The Batch service will retry the Task up to the limit specified by the constraints.

endTime
Nullable<DateTime>

The time at which the Job Preparation Task completed.

taskRootDirectory
String

The root directory of the Job Preparation Task on the Compute Node. You can use this path to retrieve files created by the Task, such as log files.

taskRootDirectoryUrl
String

The URL to the root directory of the Job Preparation Task on the Compute Node.

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 Job Preparation Task started running.

result
Nullable<TaskExecutionResult>

The result of the Task execution.

Applies to