JobPreparationTaskExecutionInformation Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
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>)
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.
- 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.
- containerInfo
- TaskContainerExecutionInformation
Information about the container under which the Task is executing.
- failureInfo
- TaskFailureInformation
Information describing the Task failure, if any.
The most recent time at which a retry of the Job Preparation Task started running.
- result
- Nullable<TaskExecutionResult>
The result of the Task execution.