Compartir a través de


SuggestionBase.OnChangeProposalAsync Método

Definición

El usuario ha solicitado una propuesta alternativa. Actualice la propuesta a través de DisplayProposalAsync(ProposalBase, CancellationToken).

public abstract System.Threading.Tasks.Task OnChangeProposalAsync (Microsoft.VisualStudio.Language.Suggestions.SuggestionSessionBase session, Microsoft.VisualStudio.Language.Proposals.ProposalBase originalProposal, Microsoft.VisualStudio.Language.Proposals.ProposalBase currentProposal, bool forward, System.Threading.CancellationToken cancel);
abstract member OnChangeProposalAsync : Microsoft.VisualStudio.Language.Suggestions.SuggestionSessionBase * Microsoft.VisualStudio.Language.Proposals.ProposalBase * Microsoft.VisualStudio.Language.Proposals.ProposalBase * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public MustOverride Function OnChangeProposalAsync (session As SuggestionSessionBase, originalProposal As ProposalBase, currentProposal As ProposalBase, forward As Boolean, cancel As CancellationToken) As Task

Parámetros

originalProposal
ProposalBase
currentProposal
ProposalBase
forward
Boolean

Devoluciones

Comentarios

Se espera que el destinatario llame DisplayProposalAsync(ProposalBase, CancellationToken) a con una nueva sugerencia si existe.

Se aplica a