CommandPrediction.OnCommandLineExecuted Method
Definition
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.
Allow registered predictors to know the execution result (success/failure) of the last accepted command line.
public static void OnCommandLineExecuted (System.Management.Automation.Subsystem.Prediction.PredictionClient client, string commandLine, bool success);
static member OnCommandLineExecuted : System.Management.Automation.Subsystem.Prediction.PredictionClient * string * bool -> unit
Public Shared 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
Whether the execution of the last command line was successful.