共用方式為


TopicDescription Class

Definition

Represents the metadata description of the topic.

public class TopicDescription : IEquatable<Microsoft.Azure.ServiceBus.Management.TopicDescription>
type TopicDescription = class
    interface IEquatable<TopicDescription>
Public Class TopicDescription
Implements IEquatable(Of TopicDescription)
Inheritance
TopicDescription
Implements

Constructors

TopicDescription(String)

Initializes a new instance of TopicDescription class with the specified relative path.

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.

MaxSizeInMB

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

Path

Path 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.

UserMetadata

Custom metdata that user can associate with the description.

Methods

Equals(Object)
Equals(TopicDescription)
GetHashCode()

Operators

Equality(TopicDescription, TopicDescription)
Inequality(TopicDescription, TopicDescription)

Applies to