Compartilhar via


PSConsoleLoadException Class

Definition

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.

Applies to