ICommandPredictor.CanAcceptFeedback 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.
Gets a value indicating whether the predictor accepts a specific kind of feedback.
public bool CanAcceptFeedback(System.Management.Automation.Subsystem.Prediction.PredictionClient client, System.Management.Automation.Subsystem.Prediction.PredictorFeedbackKind feedback);public virtual bool CanAcceptFeedback(System.Management.Automation.Subsystem.Prediction.PredictionClient client, System.Management.Automation.Subsystem.Prediction.PredictorFeedbackKind feedback);abstract member CanAcceptFeedback : System.Management.Automation.Subsystem.Prediction.PredictionClient * System.Management.Automation.Subsystem.Prediction.PredictorFeedbackKind -> boolabstract member CanAcceptFeedback : System.Management.Automation.Subsystem.Prediction.PredictionClient * System.Management.Automation.Subsystem.Prediction.PredictorFeedbackKind -> bool
override this.CanAcceptFeedback : System.Management.Automation.Subsystem.Prediction.PredictionClient * System.Management.Automation.Subsystem.Prediction.PredictorFeedbackKind -> boolPublic Function CanAcceptFeedback (client As PredictionClient, feedback As PredictorFeedbackKind) As BooleanPublic Overridable Function CanAcceptFeedback (client As PredictionClient, feedback As PredictorFeedbackKind) As BooleanParameters
- client
- PredictionClient
Represents the client that initiates the call.
- feedback
- PredictorFeedbackKind
A specific type of feedback.
Returns
True or false, to indicate whether the specific feedback is accepted.