Partilhar via


CommitResult Struct

Definition

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

public value class CommitResult : IEquatable<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CommitResult>
public struct CommitResult : IEquatable<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CommitResult>
type CommitResult = struct
Public Structure CommitResult
Implements IEquatable(Of 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

Equals(Object)
GetHashCode()

Operators

Equality(CommitResult, CommitResult)
Inequality(CommitResult, CommitResult)

Explicit Interface Implementations

IEquatable<CommitResult>.Equals(CommitResult)

Applies to