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

ContainerState.ExitCode 属性

定义

获取或设置与 命令中的退出代码对应的 docker run 容器实例退出代码。

[Newtonsoft.Json.JsonProperty(PropertyName="exitCode")]
public int? ExitCode { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="exitCode")>]
member this.ExitCode : Nullable<int> with get, set
Public Property ExitCode As Nullable(Of Integer)

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于