PSSecurityException Class

Definition

This is a wrapper for exception class SecurityException

public class PSSecurityException : System.Management.Automation.RuntimeException
Inheritance
PSSecurityException

Inherited Members

System.Management.Automation.RuntimeException

Constructors

PSSecurityException()

Recommended constructor for class PSSecurityException

PSSecurityException(String)

Constructor for class PSSecurityException

PSSecurityException(SerializationInfo, StreamingContext)

Serialization constructor for class PSSecurityException

PSSecurityException(String, Exception)

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.