JobReleaseTaskExecutionInformation 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
JobReleaseTaskExecutionInformation() |
Initializes a new instance of the JobReleaseTaskExecutionInformation class. |
JobReleaseTaskExecutionInformation(DateTime, JobReleaseTaskState, Nullable<DateTime>, String, String, Nullable<Int32>, TaskContainerExecutionInformation, TaskFailureInformation, Nullable<TaskExecutionResult>) |
Initializes a new instance of the JobReleaseTaskExecutionInformation class. |
JobReleaseTaskExecutionInformation()
Initializes a new instance of the JobReleaseTaskExecutionInformation class.
public JobReleaseTaskExecutionInformation ();
Public Sub New ()
Applies to
JobReleaseTaskExecutionInformation(DateTime, JobReleaseTaskState, Nullable<DateTime>, String, String, Nullable<Int32>, TaskContainerExecutionInformation, TaskFailureInformation, Nullable<TaskExecutionResult>)
Initializes a new instance of the JobReleaseTaskExecutionInformation class.
public JobReleaseTaskExecutionInformation (DateTime startTime, Microsoft.Azure.Batch.Protocol.Models.JobReleaseTaskState state, 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, Microsoft.Azure.Batch.Protocol.Models.TaskExecutionResult? result = default);
new Microsoft.Azure.Batch.Protocol.Models.JobReleaseTaskExecutionInformation : DateTime * Microsoft.Azure.Batch.Protocol.Models.JobReleaseTaskState * Nullable<DateTime> * string * string * Nullable<int> * Microsoft.Azure.Batch.Protocol.Models.TaskContainerExecutionInformation * Microsoft.Azure.Batch.Protocol.Models.TaskFailureInformation * Nullable<Microsoft.Azure.Batch.Protocol.Models.TaskExecutionResult> -> Microsoft.Azure.Batch.Protocol.Models.JobReleaseTaskExecutionInformation
Public Sub New (startTime As DateTime, state As JobReleaseTaskState, 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 result As Nullable(Of TaskExecutionResult) = Nothing)
Parameters
- startTime
- DateTime
The time at which the Task started running.
- state
- JobReleaseTaskState
The current state of the Job Release Task on the Compute Node.
- taskRootDirectory
- String
The root directory of the Job Release 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 Release 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.
- result
- Nullable<TaskExecutionResult>
The result of the Task execution.
Applies to
Azure SDK for .NET