Compartir a través de


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

Name Description
CommitResult(Boolean, CommitBehavior)

Creates a CommitResult with specified properties.

Fields

Name Description
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

Name Description
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

Name Description
Equals(Object)
GetHashCode()

Operators

Name Description
Equality(CommitResult, CommitResult)
Inequality(CommitResult, CommitResult)

Explicit Interface Implementations

Name Description
IEquatable<CommitResult>.Equals(CommitResult)

Applies to