PSConsoleLoadException PSConsoleLoadException PSConsoleLoadException Class

Definition

Defines exception thrown when a PSSnapin was not able to load into current runspace.

public class PSConsoleLoadException : SystemException, System.Management.Automation.IContainsErrorRecord
type PSConsoleLoadException = class
    inherit SystemException
    interface IContainsErrorRecord
Public Class PSConsoleLoadException
Inherits SystemException
Implements IContainsErrorRecord
Inheritance
PSConsoleLoadExceptionPSConsoleLoadExceptionPSConsoleLoadException
Implements

Constructors

PSConsoleLoadException() PSConsoleLoadException() PSConsoleLoadException()

Initiate an instance of PSConsoleLoadException.

PSConsoleLoadException(String) PSConsoleLoadException(String) PSConsoleLoadException(String)

Initiate an instance of PSConsoleLoadException.

PSConsoleLoadException(SerializationInfo, StreamingContext) PSConsoleLoadException(SerializationInfo, StreamingContext) PSConsoleLoadException(SerializationInfo, StreamingContext)

Initiate a PSConsoleLoadException instance.

PSConsoleLoadException(String, Exception) PSConsoleLoadException(String, Exception) PSConsoleLoadException(String, Exception)

Initiate an instance of PSConsoleLoadException.

Properties

ErrorRecord ErrorRecord ErrorRecord

Gets error record embedded in this exception.

Message Message Message

Gets message for this exception.

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Get object data from serizliation information.

Applies to