다음을 통해 공유


SuggestionBase.OnChangeProposalAsync 메서드

정의

사용자가 대체 제안을 요청했습니다. 을 통해 제안을 업데이트합니다 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

매개 변수

originalProposal
ProposalBase
currentProposal
ProposalBase
forward
Boolean

반환

설명

호출 수신자는 새 제안 사항이 있는 경우 를 호출 DisplayProposalAsync(ProposalBase, CancellationToken) 해야 합니다.

적용 대상