PSSecurityException 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.
This is a wrapper for exception class SecurityException.
public ref class PSSecurityException : System::Management::Automation::RuntimeException
[System.Serializable]
public class PSSecurityException : System.Management.Automation.RuntimeException
public class PSSecurityException : System.Management.Automation.RuntimeException
[<System.Serializable>]
type PSSecurityException = class
inherit RuntimeException
type PSSecurityException = class
inherit RuntimeException
Public Class PSSecurityException
Inherits RuntimeException
- Inheritance
- Attributes
Constructors
PSSecurityException() |
Recommended constructor for class PSSecurityException. |
PSSecurityException(SerializationInfo, StreamingContext) |
Obsolete.
Serialization constructor for class PSSecurityException. |
PSSecurityException(String, Exception) |
Constructor for class PSSecurityException. |
PSSecurityException(String) |
Constructor for class PSSecurityException. |
Properties
ErrorRecord |
Gets the ErrorRecord information for this exception. |
Message |
Exception.Message is get-only, but you can effectively set it in a subclass by overriding this virtual property. |
WasThrownFromThrowStatement | (Inherited from RuntimeException) |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Serializer for ISerializable (Inherited from RuntimeException) |