Assembly: System.Management.Automation (in System.Management.Automation.dll)
/** @attribute SerializableAttribute() */ public class PSSecurityException extends RuntimeException
This class provides additional information through its implementation of the IContainsErrorRecord interface.
Although cmdlets might need to catch this exception, instances of this exception class are usually generated by the Windows PowerShell runtime. It is unusual for code outside the Windows PowerShell runtime to create an instance of this class.
Target PlatformsWindows Developer Preview, Windows Server Developer Preview
Send comments about this topic to Microsoft.