Partager via


ICommandPredictor.OnCommandLineExecuted Method

Definition

A command line was done execution.

public void OnCommandLineExecuted (System.Management.Automation.Subsystem.Prediction.PredictionClient client, string commandLine, bool success);
public virtual void OnCommandLineExecuted (System.Management.Automation.Subsystem.Prediction.PredictionClient client, string commandLine, bool success);
abstract member OnCommandLineExecuted : System.Management.Automation.Subsystem.Prediction.PredictionClient * string * bool -> unit
abstract member OnCommandLineExecuted : System.Management.Automation.Subsystem.Prediction.PredictionClient * string * bool -> unit
override this.OnCommandLineExecuted : System.Management.Automation.Subsystem.Prediction.PredictionClient * string * bool -> unit
Public Sub OnCommandLineExecuted (client As PredictionClient, commandLine As String, success As Boolean)
Public Overridable Sub OnCommandLineExecuted (client As PredictionClient, commandLine As String, success As Boolean)

Parameters

client
PredictionClient

Represents the client that initiates the call.

commandLine
String

The last accepted command line.

success
Boolean

Shows whether the execution was successful.

Applies to