TopicProperties Class

Definition

Represents the static properties of the topic.

public class TopicProperties : IEquatable<Azure.Messaging.ServiceBus.Administration.TopicProperties>
type TopicProperties = class
    interface IEquatable<TopicProperties>
Public Class TopicProperties
Implements IEquatable(Of TopicProperties)
Inheritance
TopicProperties
Implements

Properties

AuthorizationRules

The AuthorizationRules on the topic to control user access at entity level.

AutoDeleteOnIdle

The TimeSpan idle interval after which the topic is automatically deleted.

DefaultMessageTimeToLive

The default time to live value for the messages. This is the duration after which the message expires, starting from when the message is sent to Service Bus.

DuplicateDetectionHistoryTimeWindow

The TimeSpan duration of duplicate detection history that is maintained by the service.

EnableBatchedOperations

Indicates whether server-side batched operations are enabled.

EnablePartitioning

Indicates whether the topic is to be partitioned across multiple message brokers.

MaxMessageSizeInKilobytes

Gets or sets the maximum message size, in kilobytes, for messages sent to this topic. This feature is only available when using a Premium namespace and service version "2021-05" or higher. https://video2.skills-academy.com/azure/service-bus-messaging/service-bus-premium-messaging

MaxSizeInMegabytes

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

Name

Name of the topic relative to the namespace base address.

RequiresDuplicateDetection

This value indicates if the topic requires guard against duplicate messages. If true, duplicate messages having same MessageId and sent to topic within duration of DuplicateDetectionHistoryTimeWindow will be discarded.

Status

The current status of the topic (Enabled / Disabled).

SupportOrdering

Defines whether ordering needs to be maintained. If true, messages sent to topic will be forwarded to the subscription in order. For partitioned topics, defaults to false, and setting it to true has no effect.

UserMetadata

Custom metadata that user can associate with the topic.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

Equals(TopicProperties)

Determines whether the specified object is equal to the current object.

GetHashCode()

Returns a hash code for this instance.

Operators

Equality(TopicProperties, TopicProperties)
Inequality(TopicProperties, TopicProperties)

Applies to