SessionStateException Class

Definition

SessionStateException represents an error working with session state objects: variables, aliases, functions, filters, drives, or providers.

public class SessionStateException : System.Management.Automation.RuntimeException
Inheritance
SessionStateException
Derived

Inherited Members

System.Management.Automation.RuntimeException

Constructors

SessionStateException()

Constructs a SessionStateException

SessionStateException(String)

Constructs a SessionStateException

SessionStateException(SerializationInfo, StreamingContext)

Constructs a SessionStateException using serialized data.

SessionStateException(String, Exception)

Constructs a SessionStateException

Properties

ErrorRecord

Gets the error record information for this exception.

ItemName

Gets the name of session state object the error occurred on.

SessionStateCategory

Gets the category of session state object the error occurred on.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Serializes the exception data.