CommitResult Struct

Definition

Tracks whether the commit occured, and provides instructions for behavior after committing.

C++
public value class CommitResult : IEquatable<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CommitResult>
Inheritance
CommitResult
Implements

Constructors

CommitResult(Boolean, CommitBehavior)

Creates a CommitResult with specified properties.

Fields

Handled

Marks this commit as handled. No other IAsyncCompletionCommitManager will be asked to commit.

Unhandled

Marks this commit as unhandled. Another IAsyncCompletionCommitManager will be asked to commit.

Properties

Behavior

Desired behavior after committing, respected even when IsHandled is unset.

IsHandled

Whether the commit occured. If true, no other IAsyncCompletionCommitManager will be asked to commit. If false, another IAsyncCompletionCommitManager will be asked to commit.

Methods

Operators

Explicit Interface Implementations

Applies to

Produkt Versiounen
Visual Studio SDK 2017, 2019, 2022