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

HealthState Struct

Definition

Argument completer implementation for HealthState.

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

Fields

Error
Failure
InProgress
Success
Unknown
Warning

Methods

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

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

Equals(HealthState)

Compares values of enum type HealthState

Equals(Object)

Compares values of enum type HealthState (override for Object)

GetHashCode()

Returns hashCode for enum HealthState

ToString()

Returns string representation for HealthState

Operators

Equality(HealthState, HealthState)

Overriding == operator for enum HealthState

Implicit(HealthState to String)

Implicit operator to convert HealthState to string

Implicit(String to HealthState)

Implicit operator to convert string to HealthState

Inequality(HealthState, HealthState)

Overriding != operator for enum HealthState

Applies to