Share via


PSQueueAttributes Class

Definition

public class PSQueueAttributes
type PSQueueAttributes = class
Public Class PSQueueAttributes
Inheritance
PSQueueAttributes

Constructors

PSQueueAttributes()
PSQueueAttributes(SBQueue)

Properties

AccessedAt

Last time a message was sent, or the last time there was a receive request to this queue.

AutoDeleteOnIdle

the TimeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes.

CountDetails
CreatedAt

the exact time the message was created.

DeadLetteringOnMessageExpiration

a value that indicates whether this queue has dead letter support when a message expires.

DefaultMessageTimeToLive

the default message time to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.

DuplicateDetectionHistoryTimeWindow

TimeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes..

EnableBatchedOperations

Value that indicates whether server-side batched operations are enabled..

EnableExpress

a value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage.

EnablePartitioning

value that indicates whether the queue to be partitioned across multiple message brokers is enabled.

ForwardDeadLetteredMessagesTo

Gets or sets queue/Topic name to forward the Dead Letter message

ForwardTo

Gets or sets queue/Topic name to forward the messages

Id

Queue ID.

LockDuration

the duration of a peek lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute.

MaxDeliveryCount

the maximum delivery count. A message is automatically deadlettered after this number of deliveries.

MaxSizeInMegabytes

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

MessageCount

the number of messages in the queue.

Name

Queue name.

RequiresDuplicateDetection

the value indicating if this queue requires duplicate detection.

RequiresSession

a value that indicates whether the queue supports the concept of session.

SizeInBytes

the size of the queue in bytes.

Status

Enumerates the possible values for the status of a messaging entity. Possible values include: 'Active', 'Creating', 'Deleting', 'Disabled', 'ReceiveDisabled', 'Renaming', 'Restoring', 'SendDisabled', 'Unknown'

UpdatedAt

the exact time the message has been updated.

Applies to