Skip to content
DocsTry Aspire
DocsTry

AzureServiceBusQueueResource Properties

ClassProperties12 members
Represents a Service Bus Queue. Initializes a new instance of the AzureServiceBusQueueResource class.
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Gets the connection string expression for the Azure Service Bus Queue.
public ReferenceExpression ConnectionStringExpression { get; }
DeadLetteringOnMessageExpirationSection titled DeadLetteringOnMessageExpirationnullablebool?
A value that indicates whether this queue has dead letter support when a message expires.
public bool? DeadLetteringOnMessageExpiration { get; set; }
DefaultMessageTimeToLiveSection titled DefaultMessageTimeToLivenullableTimeSpan?
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; }
DuplicateDetectionHistoryTimeWindowSection titled DuplicateDetectionHistoryTimeWindownullableTimeSpan?
ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
public TimeSpan? DuplicateDetectionHistoryTimeWindow { get; set; }
ForwardDeadLetteredMessagesToSection titled ForwardDeadLetteredMessagesTonullablestring?
Queue/Topic name to forward the Dead Letter message.
public string? ForwardDeadLetteredMessagesTo { get; set; }
ForwardToSection titled ForwardTonullablestring?
Queue/Topic name to forward the messages.
public string? ForwardTo { get; set; }
LockDurationSection titled LockDurationnullableTimeSpan?
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; }
MaxDeliveryCountSection titled MaxDeliveryCountnullableint?
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; }
RequiresDuplicateDetectionSection titled RequiresDuplicateDetectionnullablebool?
A value indicating if this queue requires duplicate detection.
public bool? RequiresDuplicateDetection { get; set; }
RequiresSessionSection titled RequiresSessionnullablebool?
A value that indicates whether the queue supports the concept of sessions.
public bool? RequiresSession { get; set; }