Share via


OperationStatus Struct

Definition

The operation status

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

Fields

Canceled

Not supported yet

Failed

The operation failed

InProgress

The operation is running

NotStarted

The operation has been accepted but hasn't started.

Succeeded

The operation 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 OperationStatus (override for Object)

Equals(OperationStatus)

Compares values of enum type OperationStatus

GetHashCode()

Returns hashCode for enum OperationStatus

ToString()

Returns string representation for OperationStatus

Operators

Equality(OperationStatus, OperationStatus)

Overriding == operator for enum OperationStatus

Implicit(OperationStatus to String)

Implicit operator to convert OperationStatus to string

Implicit(String to OperationStatus)

Implicit operator to convert string to OperationStatus

Inequality(OperationStatus, OperationStatus)

Overriding != operator for enum OperationStatus

Applies to