public sealed class AcknowledgementException : Exception, ISerializable
Represents an exception while calling the Acknowledge or ModifyAckDeadline RPC fails with a permanent error.
Implements
ISerializableNamespace
Google.Cloud.PubSub.V1Assembly
Google.Cloud.PubSub.V1.dll
Constructors
AcknowledgementException(AcknowledgementStatus, String)
public AcknowledgementException(AcknowledgementStatus status, string messageId)
Initializes a new instance of the AcknowledgementException class.
Parameters | |
---|---|
Name | Description |
status | AcknowledgementStatus The AcknowledgementStatus for the exception. |
messageId | String 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 | |
---|---|
Type | Description |
String |
Status
public AcknowledgementStatus Status { get; }
Gets the status of the acknowledgement.
Property Value | |
---|---|
Type | Description |
AcknowledgementStatus |