Udostępnij za pośrednictwem


QueueProperties Class

Definition

Represents the static properties of the queue.

public class QueueProperties : IEquatable<Azure.Messaging.ServiceBus.Administration.QueueProperties>
type QueueProperties = class
    interface IEquatable<QueueProperties>
Public Class QueueProperties
Implements IEquatable(Of QueueProperties)
Inheritance
QueueProperties
Implements

Properties

AuthorizationRules

The AuthorizationRules on the queue to control user access at entity level.

AutoDeleteOnIdle

The TimeSpan idle interval after which the queue is automatically deleted.

DeadLetteringOnMessageExpiration

Indicates whether this queue has dead letter support when a message expires.

DefaultMessageTimeToLive

The default time to live value for the messages. This is the duration after which the message expires, starting from when the message is sent to Service Bus.

DuplicateDetectionHistoryTimeWindow

The TimeSpan duration of duplicate detection history that is maintained by the service.

EnableBatchedOperations

Indicates whether server-side batched operations are enabled.

EnablePartitioning

Indicates whether the queue is to be partitioned across multiple message brokers.

ForwardDeadLetteredMessagesTo

The name of the recipient entity to which all the dead-lettered messages of this queue are forwarded to.

ForwardTo

The name of the recipient entity to which all the messages sent to the queue are forwarded to.

LockDuration

Duration of a peek lock receive. i.e., the amount of time that the message is locked by a given receiver so that no other receiver receives the same message.

MaxDeliveryCount

The maximum delivery count of a message before it is dead-lettered.

MaxMessageSizeInKilobytes

Gets or sets the maximum message size, in kilobytes, for messages sent to this queue. This feature is only available when using a Premium namespace and service version "2021-05" or higher. https://learn.microsoft.com/azure/service-bus-messaging/service-bus-premium-messaging

MaxSizeInMegabytes

The maximum size of the queue in megabytes, which is the size of memory allocated for the queue.

Name

Name of the queue relative to the namespace base address.

RequiresDuplicateDetection

This value indicates if the queue requires guard against duplicate messages. If true, duplicate messages having the same MessageId and sent to the queue within duration of DuplicateDetectionHistoryTimeWindow will be discarded.

RequiresSession

This indicates whether the queue supports the concept of session. Sessionful-messages follow FIFO ordering.

Status

The current status of the queue (Enabled / Disabled).

UserMetadata

Custom metadata that user can associate with the queue.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

Equals(QueueProperties)

Determines whether the specified object is equal to the current object.

GetHashCode()

Returns a hash code for this instance.

Operators

Equality(QueueProperties, QueueProperties)
Inequality(QueueProperties, QueueProperties)

Applies to