TaskExecutionInformation 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
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.
- 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 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.