RunspaceOpenModuleLoadException Class

Definition

Defines the exception thrown an error loading modules occurs while opening the runspace. It contains a list of all of the module errors that have occurred

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

Inherited Members

System.Management.Automation.RuntimeException

Constructors

RunspaceOpenModuleLoadException()

Initializes a new instance of ScriptBlockToPowerShellNotSupportedException with the message set to typeof(ScriptBlockToPowerShellNotSupportedException).FullName

RunspaceOpenModuleLoadException(String)

Initializes a new instance of ScriptBlockToPowerShellNotSupportedException setting the message

RunspaceOpenModuleLoadException(SerializationInfo, StreamingContext)

Initializes a new instance of RunspaceOpenModuleLoadException with serialization parameters

RunspaceOpenModuleLoadException(String, Exception)

Initializes a new instance of ScriptBlockToPowerShellNotSupportedException setting the message and innerException

Properties

ErrorRecords

The collection of error records generated while loading the modules.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the RunspaceOpenModuleLoadException object.