PSHostUserInterface.WriteErrorLine Method (String)
Updated: April 27, 2016
Applies To: Windows PowerShell
When overridden in a derived class, writes a line to the error display of the host.
Assembly: System.Management.Automation (in System.Management.Automation.dll)
The host can throw this exception when it cannot complete an operation.
If this method is not implemented, the host should throw a "not implemented" exception when it receives this call.
The host can throw this exception when an error occurs while a command is running.