PSConsoleLoadException 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.
Defines exception thrown when a PSSnapin was not able to load into current runspace.
public ref class PSConsoleLoadException : SystemException, System::Management::Automation::IContainsErrorRecord
[System.Serializable]
public class PSConsoleLoadException : SystemException, System.Management.Automation.IContainsErrorRecord
public class PSConsoleLoadException : SystemException, System.Management.Automation.IContainsErrorRecord
[<System.Serializable>]
type PSConsoleLoadException = class
inherit SystemException
interface IContainsErrorRecord
type PSConsoleLoadException = class
inherit SystemException
interface IContainsErrorRecord
Public Class PSConsoleLoadException
Inherits SystemException
Implements IContainsErrorRecord
- Inheritance
-
PSConsoleLoadException
- Attributes
- Implements
Constructors
PSConsoleLoadException() |
Initiate an instance of PSConsoleLoadException. |
PSConsoleLoadException(SerializationInfo, StreamingContext) |
Initiate a PSConsoleLoadException instance. |
PSConsoleLoadException(String, Exception) |
Initiate an instance of PSConsoleLoadException. |
PSConsoleLoadException(String) |
Initiate an instance of PSConsoleLoadException. |
Properties
ErrorRecord |
Gets error record embedded in this exception. |
Message |
Gets message for this exception. |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Get object data from serizliation information. |