Partager via


SessionState Struct

Definition

State of user session.

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

Fields

Active
Disconnected
LogOff
Pending
Unknown
UserProfileDiskMounted

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 SessionState (override for Object)

Equals(SessionState)

Compares values of enum type SessionState

GetHashCode()

Returns hashCode for enum SessionState

ToString()

Returns string representation for SessionState

Operators

Equality(SessionState, SessionState)

Overriding == operator for enum SessionState

Implicit(SessionState to String)

Implicit operator to convert SessionState to string

Implicit(String to SessionState)

Implicit operator to convert string to SessionState

Inequality(SessionState, SessionState)

Overriding != operator for enum SessionState

Applies to