Class AcknowledgementException (3.2.0)

Stay organized with collections Save and categorize content based on your preferences.
public sealed class AcknowledgementException : Exception, ISerializable

Represents an exception while calling the Acknowledge or ModifyAckDeadline RPC fails with a permanent error.

Inheritance

Object > Exception > AcknowledgementException

Implements

ISerializable

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

AcknowledgementException(AcknowledgementStatus, String)

public AcknowledgementException(AcknowledgementStatus status, string messageId)

Initializes a new instance of the AcknowledgementException class.

Parameters
NameDescription
statusAcknowledgementStatus

The AcknowledgementStatus for the exception.

messageIdString

The message ID associated with this instance of exception.

Properties

MessageId

public string MessageId { get; }

Gets the message ID associated with this instance of AcknowledgementException.

Property Value
TypeDescription
String

Status

public AcknowledgementStatus Status { get; }

Gets the status of the acknowledgement.

Property Value
TypeDescription
AcknowledgementStatus