# Class CommitMessage

Namespace
  Npgsql.Replication.PgOutput.Messages

Assembly
  Npgsql.dll

Logical Replication Protocol commit message

    public sealed class CommitMessage : PgOutputReplicationMessage

Inheritance
  object
  ReplicationMessage
  PgOutputReplicationMessage
  CommitMessage

Inherited Members
  PgOutputReplicationMessage.ToString()
  ReplicationMessage.WalStart
  ReplicationMessage.WalEnd
  ReplicationMessage.ServerClock
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.ReferenceEquals(object, object)

## Properties

### CommitLsn

The LSN of the commit.

    public NpgsqlLogSequenceNumber CommitLsn { get; }

#### Property Value

NpgsqlLogSequenceNumber

### Flags

Flags; currently unused.

    public CommitMessage.CommitFlags Flags { get; }

#### Property Value

CommitMessage.CommitFlags

### TransactionCommitTimestamp

Commit timestamp of the transaction.

    public DateTime TransactionCommitTimestamp { get; }

#### Property Value

DateTime

### TransactionEndLsn

The end LSN of the transaction.

    public NpgsqlLogSequenceNumber TransactionEndLsn { get; }

#### Property Value

NpgsqlLogSequenceNumber