Show / Hide Table of Contents

Class DeleteMessagesResult

The response to a DeleteMessages request. It indicates the number of server and client failures as well as an array of entries for successful and failed actions.

Inheritance
object
DeleteMessagesResult
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.QueueService.Models
Assembly: OCI.DotNetSDK.Queue.dll
Syntax
public class DeleteMessagesResult

Properties

ClientFailures

Declaration
[Required(ErrorMessage = "ClientFailures is required.")]
[JsonProperty(PropertyName = "clientFailures")]
public int? ClientFailures { get; set; }
Property Value
Type Description
int?

The number of messages that failed to be deleted from the queue because of a client failure such as an invalid receipt.

Remarks

Required

Entries

Declaration
[Required(ErrorMessage = "Entries is required.")]
[JsonProperty(PropertyName = "entries")]
public List<DeleteMessagesResultEntry> Entries { get; set; }
Property Value
Type Description
List<DeleteMessagesResultEntry>

An array of items representing the result of each action. The order is guaranteed to be the same as in the DeleteMessagesDetails object. If a message was successfully deleted from the queue, the entry does not contain any fields. If a message failed to be deleted from the queue, the entry includes the errorCode and errorMessage fields.

Remarks

Required

ServerFailures

Declaration
[Required(ErrorMessage = "ServerFailures is required.")]
[JsonProperty(PropertyName = "serverFailures")]
public int? ServerFailures { get; set; }
Property Value
Type Description
int?

The number of messages that failed to be deleted from the queue because of a server failure.

Remarks

Required

In this article
Back to top