Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

StartTaskInformation 类

定义

指定启动任务的详细运行时信息,包括当前状态、错误详细信息、退出代码、开始时间、结束时间等。

public class StartTaskInformation
type StartTaskInformation = class
Public Class StartTaskInformation
继承
StartTaskInformation

属性

ContainerInformation

获取有关在其中执行任务的容器的信息。

EndTime

获取任务完成的时间。

ExitCode

获取任务命令行上指定的程序的退出代码。

FailureInformation

获取描述任务失败的信息(如果有)。

LastRetryTime

获取 Batch 服务重试执行启动任务的最新时间。

Result

获取任务执行的结果。

RetryCount

获取 Batch 系统重试启动任务的次数。

StartTime

获取任务开始运行的时间。

State

获取启动任务的当前运行状态。

适用于