AsyncCommandRuntime.WriteError(ErrorRecord) Method
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.
C#
public void WriteError (System.Management.Automation.ErrorRecord errorRecord);
abstract member WriteError : System.Management.Automation.ErrorRecord -> unit
override this.WriteError : System.Management.Automation.ErrorRecord -> unit
Public Sub WriteError (errorRecord As ErrorRecord)
- errorRecord
- ErrorRecord
Product | Versions |
---|---|
Azure - PowerShell Commands | 12 (LTS), Latest |