ReasonForUpdate Enum
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.
Why was a proposal updated or did a user action diverge from the proposal, causing the proposal (but not the SuggestionSessionBase) to be dismissed?
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum ReasonForUpdate
[<System.Flags>]
type ReasonForUpdate =
Public Enum ReasonForUpdate
- Inheritance
-
ReasonForUpdate
- Attributes
Fields
Name | Value | Description |
---|---|---|
Updated | 65536 | Bit indicating that the proposal was successfully updated after some user action |
UpdatedAfterCompletionChange | 65537 | The CompletionState's SelectedItem changed and proposal was updated. |
UpdatedAfterCompletionItemCommitted | 65538 | The user committed the completion item using something like a tab (so no subsequent commands are pending). |
UpdatedAfterCompletionItemCommittedCommandPending | 65539 | The user committed the completion item using a commit character. This update happens after the item is committed but before the commit character is added to the buffer. |
UpdatedAfterTypeChar | 65540 | The user executed a TypeChar command. |
UpdatedAfterReturn | 65541 | The user executed a Return command. |
UpdatedAfterBackspace | 65542 | The user backspaced. |
Diverged | 131072 | Bit indicating that a user change happened that could not be reconciled with the user's action. If this bit has been set, then the proposal has been dismissed (but the SuggestionSessionBase is still active and can be used to display an alternate proposal). |
DivergedAfterCompletionChange | 131073 | The CompletionState's SelectedItem changed and proposal was dismissed. |
DivergedAfterCompletionItemCommitted | 131074 | The user committed the completion item using something like a tab (so no subsequent commands are pending) and the change could not be reconciled with the proposal so the proposal was dismissed. |
DivergedAfterCompletionItemCommittedCommandPending | 131075 | The user committed the completion item using a commit character and the change could not be reconciled with the proposal so the proposal was dismissed. This update happens after the item is committed but before the commit character is added to the buffer. |
DivergedAfterTypeChar | 131076 | The user typed a character that could not be reconciled with the proposal. |
DivergedAfterReturn | 131077 | The user hit return and that change could not be reconciled with the proposal. |
DivergedAfterBackspace | 131078 | The user did a backspace and that change could not be reconciled with the proposal. |
DivergedDueToInvalidProposal | 131079 | The proposal given to DisplayProposalAsync(ProposalBase, CancellationToken) could not be reconciled with the current state of the buffer. |
DivergedDueToChangeProposal | 131080 | The proposal given to DisplayProposalAsync(ProposalBase, CancellationToken) has been removed because the user cycled to the next or previous proposal. |