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

TaskState Struct

Definition

Gets or sets the task state.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Support.TaskStateTypeConverter))]
public struct TaskState : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.Migrate.Support.TaskState>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Support.TaskStateTypeConverter))>]
type TaskState = struct
    interface IArgumentCompleter
Public Structure TaskState
Implements IArgumentCompleter, IEquatable(Of TaskState)
Inheritance
TaskState
Attributes
Implements

Fields

Cancelled
Failed
Pending
Skipped
Started
Succeeded

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(Object)

Compares values of enum type TaskState (override for Object)

Equals(TaskState)

Compares values of enum type TaskState

GetHashCode()

Returns hashCode for enum TaskState

ToString()

Returns string representation for TaskState

Operators

Equality(TaskState, TaskState)

Overriding == operator for enum TaskState

Implicit(String to TaskState)

Implicit operator to convert string to TaskState

Implicit(TaskState to String)

Implicit operator to convert TaskState to string

Inequality(TaskState, TaskState)

Overriding != operator for enum TaskState

Applies to