Table of Contents

Constructor NatsJSMsgMetadata

Namespace
NATS.Client.JetStream
Assembly
NATS.Client.JetStream.dll

NatsJSMsgMetadata(NatsJSSequencePair, ulong, ulong, DateTimeOffset, string, string, string)

Additional metadata about the message.

public NatsJSMsgMetadata(NatsJSSequencePair Sequence, ulong NumDelivered, ulong NumPending, DateTimeOffset Timestamp, string Stream, string Consumer, string Domain)

Parameters

Sequence NatsJSSequencePair

The sequence pair for the message.

NumDelivered ulong

The number of times the message was delivered.

NumPending ulong

The number of messages pending for the consumer.

Timestamp DateTimeOffset

The timestamp of the message.

Stream string

The stream the message was sent to.

Consumer string

The consumer the message was sent to.

Domain string

The domain the message was sent to.