Partager via


IFeedbackProvider.GetFeedback(FeedbackContext, CancellationToken) Method

Definition

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

Applies to