SuggestionServiceBase.DismissProposalAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Dismiss any proposal displayed in view
for the indicated reason
.
public virtual System.Threading.Tasks.Task DismissProposalAsync (Microsoft.VisualStudio.Text.Editor.ITextView view, Microsoft.VisualStudio.Language.Suggestions.ReasonForDismiss reason, System.Threading.CancellationToken cancel);
abstract member DismissProposalAsync : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Language.Suggestions.ReasonForDismiss * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DismissProposalAsync : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Language.Suggestions.ReasonForDismiss * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function DismissProposalAsync (view As ITextView, reason As ReasonForDismiss, cancel As CancellationToken) As Task
Parameters
- view
- ITextView
- reason
- ReasonForDismiss
- cancel
- CancellationToken