# Class ReplicationTuple

Namespace
  Npgsql.Replication.PgOutput

Assembly
  Npgsql.dll

Represents a streaming tuple containing ReplicationValue.

    public class ReplicationTuple : IAsyncEnumerable<ReplicationValue>

Inheritance
  object
  ReplicationTuple

Implements
  IAsyncEnumerable<ReplicationValue>

Inherited Members
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

## Properties

### NumColumns

The number of columns in the tuple.

    public ushort NumColumns { get; }

#### Property Value

ushort

## Methods

### GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

    public virtual IAsyncEnumerator<ReplicationValue> GetAsyncEnumerator(CancellationToken cancellationToken = default)

#### Parameters

`cancellationToken` CancellationToken

  A CancellationToken that may be used to cancel the asynchronous iteration.

#### Returns

IAsyncEnumerator<ReplicationValue>

  An enumerator that can be used to iterate asynchronously through the collection.