SessionStateUnauthorizedAccessException 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.
SessionStateUnauthorizedAccessException occurs when a change to a session state object cannot be completed because the object is read-only or constant, or because an object which is declared constant cannot be removed or made non-constant.
public ref class SessionStateUnauthorizedAccessException : System::Management::Automation::SessionStateException
[System.Serializable]
public class SessionStateUnauthorizedAccessException : System.Management.Automation.SessionStateException
public class SessionStateUnauthorizedAccessException : System.Management.Automation.SessionStateException
[<System.Serializable>]
type SessionStateUnauthorizedAccessException = class
inherit SessionStateException
type SessionStateUnauthorizedAccessException = class
inherit SessionStateException
Public Class SessionStateUnauthorizedAccessException
Inherits SessionStateException
- Inheritance
- Attributes
Constructors
SessionStateUnauthorizedAccessException() |
Constructs a SessionStateUnauthorizedAccessException. |
SessionStateUnauthorizedAccessException(SerializationInfo, StreamingContext) |
Obsolete.
Constructs a SessionStateUnauthorizedAccessException using serialized data. |
SessionStateUnauthorizedAccessException(String, Exception) |
Constructs a SessionStateUnauthorizedAccessException. |
SessionStateUnauthorizedAccessException(String) |
Constructs a SessionStateUnauthorizedAccessException. |
Properties
ErrorRecord |
Gets the error record information for this exception. (Inherited from SessionStateException) |
ItemName |
Gets the name of session state object the error occurred on. (Inherited from SessionStateException) |
SessionStateCategory |
Gets the category of session state object the error occurred on. (Inherited from SessionStateException) |
WasThrownFromThrowStatement | (Inherited from RuntimeException) |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Serializes the exception data. (Inherited from SessionStateException) |