This topic has not yet been rated - Rate this topic

TopicDescription Class

Represents a description of the topic.

System.Object
  Microsoft.ServiceBus.Messaging.EntityDescription
    Microsoft.ServiceBus.Messaging.TopicDescription

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
[DataContractAttribute(Name = "TopicDescription", Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public sealed class TopicDescription : EntityDescription

The TopicDescription type exposes the following members.

  Name Description
Public method TopicDescription Initializes a new instance of the TopicDescription class with the specified relative path.
Top
  Name Description
Public property DefaultMessageTimeToLive Gets or sets the default message time to live value for a topic. This is the duration after which the message expires, starting from when the message is sent to the Service Bus. This is the default value used when TimeToLive is not set on a message itself.Messages older than their TimeToLive value will expire and no longer be retained in the message store. Subscribers will be unable to receive expired messages.
Public property DuplicateDetectionHistoryTimeWindow Gets or sets the TimeSpan structure that defines the duration of the duplicate detection history.
Public property EnableBatchedOperations Gets or sets a value that indicates whether server-side batched operations are enabled.
Public property ExtensionData Gets or sets the structure that contains extra data. (Inherited from EntityDescription.)
Public property IsReadOnly Gets or sets a value that indicates whether the entity description is read-only. (Inherited from EntityDescription.)
Public property MaxSizeInMegabytes Gets or sets the maximum size in megabytes, which is the size of memory allocated for the topic.
Public property Path Gets the path of the topic.
Public property RequiresDuplicateDetection Gets or sets the value that indicates whether a topic requires duplication detection.
Public property SizeInBytes Gets the size of the topic in bytes.
Top
  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method ThrowIfReadOnly Throws an exception if the entity description is read-only. (Inherited from EntityDescription.)
Public method ToString (Inherited from Object.)
Top
  Name Description
Public field Static member MessageTimeToLiveDefaultValue Specifies the message time to live default value.
Top
Note Note

Entity names are case-insensitive; for example MYTOPIC is the same as my topic. Therefore, you should use IgnoreCase in any comparison of entity names.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)