IFeedbackProvider Interface
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.
Interface for implementing a feedback provider on command failures.
public interface IFeedbackProvider : System.Management.Automation.Subsystem.ISubsystem
type IFeedbackProvider = interface
interface ISubsystem
Public Interface IFeedbackProvider
Implements ISubsystem
- Implements
Properties
| Description |
Gets the description of a subsystem implementation. (Inherited from ISubsystem) |
| FunctionsToDefine |
Gets a dictionary that contains the functions to be defined at the global scope of a PowerShell session. Key: function name; Value: function script. (Inherited from ISubsystem) |
| Id |
Gets the unique identifier for a subsystem implementation. (Inherited from ISubsystem) |
| Name |
Gets the name of a subsystem implementation. (Inherited from ISubsystem) |
| Trigger |
Gets the types of trigger for this feedback provider. |
Methods
| GetFeedback(FeedbackContext, CancellationToken) |
Gets feedback based on the given commandline and error record. |
Explicit Interface Implementations
| ISubsystem.FunctionsToDefine |
Default implementation. No function is required for a feedback provider. |