# Class LogicalDecodingMessage

Namespace
  Npgsql.Replication.PgOutput.Messages

Assembly
  Npgsql.dll

Logical Replication Protocol logical decoding message

    public sealed class LogicalDecodingMessage : TransactionalMessage

Inheritance
  object
  ReplicationMessage
  PgOutputReplicationMessage
  TransactionalMessage
  LogicalDecodingMessage

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

## Properties

### Data

The content of the logical decoding message.

    public Stream Data { get; }

#### Property Value

Stream

### Flags

Flags; Either 0 for no flags or 1 if the logical decoding message is transactional.

    public byte Flags { get; }

#### Property Value

byte

### MessageLsn

The LSN of the logical decoding message.

    public NpgsqlLogSequenceNumber MessageLsn { get; }

#### Property Value

NpgsqlLogSequenceNumber

### Prefix

The prefix of the logical decoding message.

    public string Prefix { get; }

#### Property Value

string