JobState Struct

Definition

Gets or sets the job state.

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

Fields

Name Description
Cancelled

Job has been cancelled.

Cancelling

Job cancellation is in progress.

CompletedWithErrors

Job has completed with errors.

CompletedWithInformation

Job has completed with information.

CompletedWithWarnings

Job has completed with warnings.

Failed

Job failed.

Pending

Job has not been started.

Started

Job is in progress.

Succeeded

Job has completed successfully.

Methods

Name Description
CompleteArgument(String, String, String, CommandAst, IDictionary)

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

Equals(JobState)

Compares values of enum type JobState

Equals(Object)

Compares values of enum type JobState (override for Object)

GetHashCode()

Returns hashCode for enum JobState

ToString()

Returns string representation for JobState

Operators

Name Description
Equality(JobState, JobState)

Overriding == operator for enum JobState

Implicit(JobState to String)

Implicit operator to convert JobState to string

Implicit(String to JobState)

Implicit operator to convert string to JobState

Inequality(JobState, JobState)

Overriding != operator for enum JobState

Applies to