StartTaskInformation 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
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.
- containerInfo
- TaskContainerExecutionInformation
Information about the container under which the Task is executing.
- failureInfo
- TaskFailureInformation
Information describing the Task failure, if any.
- result
- Nullable<TaskExecutionResult>
The result of the Task execution.