Share via


HealthCheckResult Struct

Definition

Represents the Health state of the health check we performed.

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

Fields

HealthCheckFailed

Health check failed.

HealthCheckSucceeded

Health check passed.

SessionHostShutdown

We received a Shutdown notification.

Unknown

Health check result is not currently known.

Methods

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

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

Equals(HealthCheckResult)

Compares values of enum type HealthCheckResult

Equals(Object)

Compares values of enum type HealthCheckResult (override for Object)

GetHashCode()

Returns hashCode for enum HealthCheckResult

ToString()

Returns string representation for HealthCheckResult

Operators

Equality(HealthCheckResult, HealthCheckResult)

Overriding == operator for enum HealthCheckResult

Implicit(HealthCheckResult to String)

Implicit operator to convert HealthCheckResult to string

Implicit(String to HealthCheckResult)

Implicit operator to convert string to HealthCheckResult

Inequality(HealthCheckResult, HealthCheckResult)

Overriding != operator for enum HealthCheckResult

Applies to