QueueDescription Class
Represents the metadata description of the queue.
System.Object
Microsoft.ServiceBus.Messaging.EntityDescription
Microsoft.ServiceBus.Messaging.QueueDescription
Microsoft.ServiceBus.Messaging.EntityDescription
Microsoft.ServiceBus.Messaging.QueueDescription
Namespace: Microsoft.ServiceBus.Messaging
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
The QueueDescription type exposes the following members.
| Name | Description | |
|---|---|---|
|
QueueDescription | Initializes a new instance of the QueueDescription class with the specified relative path. |
| Name | Description | |
|---|---|---|
|
DefaultMessageTimeToLive | Gets or sets the default message time to live value. This is the duration after which the message expires, starting from when the message is sent to the Service Bus. This is the default value used when TimeToLive is not set on a message itself.Messages older than their TimeToLive value will expire and no longer be retained in the message store. Subscribers will be unable to receive expired messages. |
|
DuplicateDetectionHistoryTimeWindow | Gets or sets the TimeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes. |
|
EnableBatchedOperations | Gets or sets a value that indicates whether server-side batched operations are enabled. |
|
EnableDeadLetteringOnMessageExpiration | Gets or sets a value that indicates whether this queue has dead letter support when a message expires. |
|
ExtensionData | Gets or sets the structure that contains extra data. (Inherited from EntityDescription.) |
|
IsReadOnly | Gets or sets a value that indicates whether the entity description is read-only. (Inherited from EntityDescription.) |
|
LockDuration | Gets or sets 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 | Gets or sets the maximum delivery count. A message is automatically deadlettered after this number of deliveries. |
|
MaxSizeInMegabytes | Gets or sets the maximum size in megabytes, which is the size of memory allocated for the queue. |
|
MessageCount | Gets the number of messages in the queue. |
|
Path | Gets the name of the queue. |
|
RequiresDuplicateDetection | Gets or sets the value indicating if this queue requires duplicate detection. |
|
RequiresSession | Gets or sets a value that indicates whether the queue supports the concept of session. |
|
SizeInBytes | Gets the size of the queue in bytes. |
| Name | Description | |
|---|---|---|
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
MemberwiseClone | (Inherited from Object.) |
|
ThrowIfReadOnly | Throws an exception if the entity description is read-only. (Inherited from EntityDescription.) |
|
ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
MessageTimeToLiveDefaultValue | Specifies the message time to live default value. |
Note