SessionStateException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
SessionStateException represents an error working with session state objects: variables, aliases, functions, filters, drives, or providers.
public ref class SessionStateException : System::Management::Automation::RuntimeException
[System.Serializable]
public class SessionStateException : System.Management.Automation.RuntimeException
public class SessionStateException : System.Management.Automation.RuntimeException
[<System.Serializable>]
type SessionStateException = class
inherit RuntimeException
type SessionStateException = class
inherit RuntimeException
Public Class SessionStateException
Inherits RuntimeException
- Inheritance
- Derived
- Attributes
Constructors
SessionStateException() |
Constructs a SessionStateException. |
SessionStateException(SerializationInfo, StreamingContext) |
Obsolete.
Constructs a SessionStateException using serialized data. |
SessionStateException(String) |
Constructs a SessionStateException. |
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. |
WasThrownFromThrowStatement | (Inherited from RuntimeException) |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Serializes the exception data. |
GetObjectData(SerializationInfo, StreamingContext) |
Serializer for ISerializable (Inherited from RuntimeException) |