Skip to content
Docs Try Aspire

AzureServiceBusQueueResource Properties

Class Properties 12 members
Represents a Service Bus Queue. Initializes a new instance of the AzureServiceBusQueueResource class.
ConnectionStringExpression Section titled ConnectionStringExpression ReferenceExpression
Gets the connection string expression for the Azure Service Bus Queue.
public ReferenceExpression ConnectionStringExpression { get; }
DeadLetteringOnMessageExpiration Section titled DeadLetteringOnMessageExpiration nullable bool?
A value that indicates whether this queue has dead letter support when a message expires.
public bool? DeadLetteringOnMessageExpiration { get; set; }
DefaultMessageTimeToLive Section titled DefaultMessageTimeToLive nullable TimeSpan?
ISO 8601 default message timespan 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.
public TimeSpan? DefaultMessageTimeToLive { get; set; }
DuplicateDetectionHistoryTimeWindow Section titled DuplicateDetectionHistoryTimeWindow nullable TimeSpan?
ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
public TimeSpan? DuplicateDetectionHistoryTimeWindow { get; set; }
ForwardDeadLetteredMessagesTo Section titled ForwardDeadLetteredMessagesTo nullable string?
Queue/Topic name to forward the Dead Letter message.
public string? ForwardDeadLetteredMessagesTo { get; set; }
ForwardTo Section titled ForwardTo nullable string?
Queue/Topic name to forward the messages.
public string? ForwardTo { get; set; }
LockDuration Section titled LockDuration nullable TimeSpan?
ISO 8601 timespan 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.
public TimeSpan? LockDuration { get; set; }
MaxDeliveryCount Section titled MaxDeliveryCount nullable int?
The maximum delivery count. A message is automatically dead-lettered after this number of deliveries.
public int? MaxDeliveryCount { get; set; }
Gets the parent Azure Service Bus resource.
public AzureServiceBusResource Parent { get; }
The queue name.
public string QueueName { get; set; }
RequiresDuplicateDetection Section titled RequiresDuplicateDetection nullable bool?
A value indicating if this queue requires duplicate detection.
public bool? RequiresDuplicateDetection { get; set; }
RequiresSession Section titled RequiresSession nullable bool?
A value that indicates whether the queue supports the concept of sessions.
public bool? RequiresSession { get; set; }