共用方式為


CmdletProvider.WriteError(ErrorRecord) Method

Definition

public:
 void WriteError(System::Management::Automation::ErrorRecord ^ errorRecord);
public void WriteError (System.Management.Automation.ErrorRecord errorRecord);
member this.WriteError : System.Management.Automation.ErrorRecord -> unit
Public Sub WriteError (errorRecord As ErrorRecord)

Parameters

errorRecord
ErrorRecord

Applies to