Share via


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

JobOutput.Label 属性

定义

获取或设置分配给 JobOutput 的标签,以帮助唯一标识它。 当转换具有多个 TransformOutput(即作业具有多个 JobOutput)时,这非常有用。 在这种情况下,提交作业时,将添加两个或多个 JobOutput,顺序与转换中的 TransformOutputs 相同。 随后,通过事件或 GET 请求检索作业时,可以使用 标签轻松标识 JobOutput。 如果未提供标签,将使用默认值“{presetName}_{outputIndex}”,其中预设名称是相应 TransformOutput 中预设的名称,输出索引是作业中此 JobOutput 的相对索引。 请注意,此索引与其 Transform 中相应 TransformOutput 的相对索引相同。

[Newtonsoft.Json.JsonProperty(PropertyName="label")]
public string Label { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="label")>]
member this.Label : string with get, set
Public Property Label As String

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于