SuggestionBase.OnAcceptedAsync Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Llamado por SuggestionSessionBase cuando se acepta la sugerencia.
public abstract System.Threading.Tasks.Task OnAcceptedAsync (Microsoft.VisualStudio.Language.Suggestions.SuggestionSessionBase session, Microsoft.VisualStudio.Language.Proposals.ProposalBase originalProposal, Microsoft.VisualStudio.Language.Proposals.ProposalBase currentProposal, Microsoft.VisualStudio.Language.Suggestions.ReasonForAccept reason, System.Threading.CancellationToken cancel);
abstract member OnAcceptedAsync : Microsoft.VisualStudio.Language.Suggestions.SuggestionSessionBase * Microsoft.VisualStudio.Language.Proposals.ProposalBase * Microsoft.VisualStudio.Language.Proposals.ProposalBase * Microsoft.VisualStudio.Language.Suggestions.ReasonForAccept * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public MustOverride Function OnAcceptedAsync (session As SuggestionSessionBase, originalProposal As ProposalBase, currentProposal As ProposalBase, reason As ReasonForAccept, cancel As CancellationToken) As Task
Parámetros
- session
- SuggestionSessionBase
- originalProposal
- ProposalBase
- currentProposal
- ProposalBase
- reason
- ReasonForAccept
- cancel
- CancellationToken