Skip to content
Docs Try Aspire

AzureServiceBusTopicResource Properties

Class Properties 6 members
Represents a Service Bus Topic. Initializes a new instance of the AzureServiceBusTopicResource class.
ConnectionStringExpression Section titled ConnectionStringExpression ReferenceExpression
Gets the connection string expression for the Azure Service Bus Topic.
public ReferenceExpression ConnectionStringExpression { get; }
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; }
Gets the parent Azure Service Bus resource.
public AzureServiceBusResource Parent { get; }
RequiresDuplicateDetection Section titled RequiresDuplicateDetection nullable bool?
A value indicating if this topic requires duplicate detection.
public bool? RequiresDuplicateDetection { get; set; }
The topic name.
public string TopicName { get; set; }