CommandPrediction.OnSuggestionAccepted 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.
Send feedback to a predictor when a suggestion from it was accepted.
public static void OnSuggestionAccepted (System.Management.Automation.Subsystem.Prediction.PredictionClient client, Guid predictorId, uint session, string suggestionText);
static member OnSuggestionAccepted : System.Management.Automation.Subsystem.Prediction.PredictionClient * Guid * uint32 * string -> unit
Public Shared Sub OnSuggestionAccepted (client As PredictionClient, predictorId As Guid, session As UInteger, suggestionText As String)
Parameters
- client
- PredictionClient
Represents the client that initiates the call.
- predictorId
- Guid
The identifier of the predictor whose prediction result was accepted.
- session
- UInt32
The mini-session where the accepted suggestion came from.
- suggestionText
- String
The accepted suggestion text.