다음을 통해 공유


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

Name Value Description
Variable 0

Used when an exception is thrown accessing a variable.

Alias 1

Used when an exception is thrown accessing an alias.

Function 2

Used when an exception is thrown accessing a function.

Filter 3

Used when an exception is thrown accessing a filter.

Drive 4

Used when an exception is thrown accessing a drive.

CmdletProvider 5

Used when an exception is thrown accessing a Cmdlet Provider.

Scope 6

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

Command 7

Used when generically accessing any type of command...

Resource 8

Other resources not covered by the previous categories...

Cmdlet 9

Used when an exception is thrown accessing a cmdlet.

Applies to