Delen via


JobReleaseTaskExecutionInformation Constructors

Definition

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()

Source:
JobReleaseTaskExecutionInformation.cs

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>)

Source:
JobReleaseTaskExecutionInformation.cs

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.

endTime
Nullable<DateTime>

The time at which the Job Release Task completed.

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.

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.

result
Nullable<TaskExecutionResult>

The result of the Task execution.

Applies to