다음을 통해 공유


SuggestionBase.OnAcceptedAsync 메서드

정의

제안이 수락되면 에 SuggestionSessionBase 의해 호출됩니다.

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

매개 변수

originalProposal
ProposalBase
currentProposal
ProposalBase

반환

적용 대상