Share via


Debugger.ProcessCommand(PSCommand, PSDataCollection<PSObject>) Method

Definition

Evaluates provided command either as a debugger specific command or a PowerShell command.

public:
 abstract System::Management::Automation::DebuggerCommandResults ^ ProcessCommand(System::Management::Automation::PSCommand ^ command, System::Management::Automation::PSDataCollection<System::Management::Automation::PSObject ^> ^ output);
public abstract System.Management.Automation.DebuggerCommandResults ProcessCommand (System.Management.Automation.PSCommand command, System.Management.Automation.PSDataCollection<System.Management.Automation.PSObject> output);
abstract member ProcessCommand : System.Management.Automation.PSCommand * System.Management.Automation.PSDataCollection<System.Management.Automation.PSObject> -> System.Management.Automation.DebuggerCommandResults
Public MustOverride Function ProcessCommand (command As PSCommand, output As PSDataCollection(Of PSObject)) As DebuggerCommandResults

Parameters

command
PSCommand

PowerShell command.

output
PSDataCollection<PSObject>

Output.

Returns

DebuggerCommandResults.

Applies to