Assembly: System.Management.Automation (in System.Management.Automation.dll)
The ErrorRecord class is used only by the Windows PowerShell runtime. There are no established scenarios for deriving from this class. For more information about error records, see Windows PowerShell Error Records.
Error records are also used by several exceptions that are thrown by the Windows PowerShell runtime.
Target PlatformsWindows Developer Preview, Windows Server Developer Preview
Send comments about this topic to Microsoft.