RunspaceOpenModuleLoadException 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 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 ref class RunspaceOpenModuleLoadException : System::Management::Automation::RuntimeException
[System.Serializable]
public class RunspaceOpenModuleLoadException : System.Management.Automation.RuntimeException
public class RunspaceOpenModuleLoadException : System.Management.Automation.RuntimeException
[<System.Serializable>]
type RunspaceOpenModuleLoadException = class
inherit RuntimeException
type RunspaceOpenModuleLoadException = class
inherit RuntimeException
Public Class RunspaceOpenModuleLoadException
Inherits RuntimeException
- Inheritance
- Attributes
Constructors
RunspaceOpenModuleLoadException() |
Initializes a new instance of ScriptBlockToPowerShellNotSupportedException with the message set to typeof(ScriptBlockToPowerShellNotSupportedException).FullName. |
RunspaceOpenModuleLoadException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of RunspaceOpenModuleLoadException with serialization parameters. |
RunspaceOpenModuleLoadException(String, Exception) |
Initializes a new instance of ScriptBlockToPowerShellNotSupportedException setting the message and innerException. |
RunspaceOpenModuleLoadException(String) |
Initializes a new instance of ScriptBlockToPowerShellNotSupportedException setting the message. |
Properties
ErrorRecord |
Additional information about the error. (Inherited from RuntimeException) |
ErrorRecords |
The collection of error records generated while loading the modules. |
WasThrownFromThrowStatement | (Inherited from RuntimeException) |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Populates a SerializationInfo with the data needed to serialize the RunspaceOpenModuleLoadException object. |
GetObjectData(SerializationInfo, StreamingContext) |
Serializer for ISerializable (Inherited from RuntimeException) |