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

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