Table of Contents

Method IsSuccess

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

IsSuccess(PubAckResponse)

Checks if there are no errors and message is not a duplicate.

public static bool IsSuccess(this PubAckResponse ack)

Parameters

ack PubAckResponse

ACK response.

Returns

bool

True if there are no errors and message is not a duplicate.

Exceptions

ArgumentNullException

PubAckResponse is NULL.