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

JobState 结构

定义

定义 JobState 的值。

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Management.Media.Models.JobStateConverter))]
public struct JobState : IEquatable<Microsoft.Azure.Management.Media.Models.JobState>
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Management.Media.Models.JobStateConverter))>]
type JobState = struct
Public Structure JobState
Implements IEquatable(Of JobState)
继承
JobState
属性
Newtonsoft.Json.JsonConverterAttribute
实现

字段

Canceled

已取消作业。 这是作业的最终状态。

Canceling

正在取消作业。 这是作业的暂时性状态。

Error

作业遇到错误。 这是作业的最终状态。

Finished

作业已完成。 这是作业的最终状态。

Processing

作业正在处理。 这是作业的暂时性状态。

Queued

作业处于排队状态,等待资源可用。 这是一个暂时性状态。

Scheduled

计划作业在可用资源上运行。 这是处于排队状态和处理状态之间的暂时性状态。

方法

Equals(JobState)

比较 JobState 类型的枚举

Equals(Object)

替代 JobState 的 Equals 运算符

GetHashCode()

为 hashCode JobState 返回

ToString()

返回 JobState 的字符串表示形式

运算符

Equality(JobState, JobState)

为枚举 JobState 重写 == 运算符

Implicit(JobState to String)

将 JobState 转换为字符串的隐式运算符

Implicit(String to JobState)

用于将字符串转换为 JobState 的隐式运算符

Inequality(JobState, JobState)

为枚举 JobState 重写 != 运算符

适用于