# Class PreparedTransactionControlMessage

Namespace
  Npgsql.Replication.PgOutput.Messages

Assembly
  Npgsql.dll

Abstract base class for Logical Replication Protocol prepare and begin prepare message

    public abstract class PreparedTransactionControlMessage : TransactionControlMessage

Inheritance
  object
  ReplicationMessage
  PgOutputReplicationMessage
  TransactionControlMessage
  PreparedTransactionControlMessage

Derived
  CommitPreparedMessage
  PrepareMessageBase
  RollbackPreparedMessage

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

## Properties

### TransactionGid

The user defined GID of the two-phase transaction.

    public string TransactionGid { get; }

#### Property Value

string