Export (0) Print
Expand All
Expand Minimize

SessionStateCategory Enumeration

Defines the type of session state element that was being accessed when an error occurred.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As SessionStateCategory

public enum SessionStateCategory
public enum SessionStateCategory
public enum SessionStateCategory

Member nameDescription
AliasAn exception was thrown while accessing an alias.
CmdletAn exception was thrown while accessing a cmdlet.
CmdletProviderAn exception was thrown while accessing a Windows PowerShell provider.
CommandAn exception was thrown while accessing a command.
DriveAn exception was thrown while accessing a drive.
FilterAn exception was thrown while accessing a filter.
FunctionAn exception was thrown while accessing a function.
ResourceAn exception was thrown while accessing a resource not covered by the categories. This field is introduced in Windows PowerShell 2.0.
ScopeAn exception was thrown while manipulating the Windows PowerShell language scopes.
VariableAn exception was thrown while accessing a variable.

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft