RuntimeException Class
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Serves as a base class for Windows PowerShell exceptions that might occur while a command is running.
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
System.Exception
System.SystemException
System.Management.Automation.RuntimeException
Derived Classes
System.Management.Automation Namespace
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
Usage
Visual Basic
Dim instance As RuntimeException
Syntax
Visual Basic
<SerializableAttribute> _ Public Class RuntimeException Inherits SystemException Implements IContainsErrorRecord
C#
[SerializableAttribute] public class RuntimeException : SystemException, IContainsErrorRecord
C++
[SerializableAttribute] public ref class RuntimeException : public SystemException, IContainsErrorRecord
J#
/** @attribute SerializableAttribute() */ public class RuntimeException extends SystemException implements IContainsErrorRecord
JScript
SerializableAttribute public class RuntimeException extends SystemException implements IContainsErrorRecord
Inheritance Hierarchy
System.Object
System.Exception
System.SystemException
System.Management.Automation.RuntimeException
Derived Classes
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Target Platforms
Windows Developer Preview, Windows Server Developer PreviewSee Also
Reference
RuntimeException MembersSystem.Management.Automation Namespace
Other Resources
Windows PowerShell SDKSend comments about this topic to Microsoft.