IFeedbackProvider.GetFeedback(FeedbackContext, CancellationToken) 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 feedback based on the given commandline and error record.
[System.Runtime.CompilerServices.NullableContext(1)]
public System.Management.Automation.Subsystem.Feedback.FeedbackItem? GetFeedback (System.Management.Automation.Subsystem.Feedback.FeedbackContext context, System.Threading.CancellationToken token);
[<System.Runtime.CompilerServices.NullableContext(1)>]
abstract member GetFeedback : System.Management.Automation.Subsystem.Feedback.FeedbackContext * System.Threading.CancellationToken -> System.Management.Automation.Subsystem.Feedback.FeedbackItem
Public Function GetFeedback (context As FeedbackContext, token As CancellationToken) As FeedbackItem
Parameters
- context
- FeedbackContext
The context for the feedback call.
- token
- CancellationToken
The cancellation token to cancel the operation.
Returns
The feedback item.
- Attributes