Freigeben über


SessionStateCategory Enum

Definition

Categories of session state objects, used by SessionStateException.

public enum class SessionStateCategory
public enum SessionStateCategory
type SessionStateCategory = 
Public Enum SessionStateCategory
Inheritance
SessionStateCategory

Fields

Alias 1

Used when an exception is thrown accessing an alias.

Cmdlet 9

Used when an exception is thrown accessing a cmdlet.

CmdletProvider 5

Used when an exception is thrown accessing a Cmdlet Provider.

Command 7

Used when generically accessing any type of command...

Drive 4

Used when an exception is thrown accessing a drive.

Filter 3

Used when an exception is thrown accessing a filter.

Function 2

Used when an exception is thrown accessing a function.

Resource 8

Other resources not covered by the previous categories...

Scope 6

Used when an exception is thrown manipulating the PowerShell language scopes.

Variable 0

Used when an exception is thrown accessing a variable.

Applies to