This topic has not yet been rated - Rate this topic

SessionStateCategory Enumeration

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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)
'Usage
Dim instance As SessionStateCategory

public enum SessionStateCategory
public enum SessionStateCategory
public enum SessionStateCategory
Member name Description
Alias An exception was thrown while accessing an alias.
Cmdlet  
CmdletProvider An exception was thrown while accessing a Windows PowerShell provider.
Command An exception was thrown while accessing a command.
Drive An exception was thrown while accessing a drive.
Filter An exception was thrown while accessing a filter.
Function An exception was thrown while accessing a function.
Resource An exception was thrown while accessing a resource not covered by the categories. This field is introduced in Windows PowerShell 2.0.
Scope An exception was thrown while manipulating the Windows PowerShell language scopes.
Variable An exception was thrown while accessing a variable.

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)