Share via


Topic Class

Represents a topic.

Inheritance Hierarchy

System.Object
  Microsoft.ServiceBus.Messaging.Topic

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus.Messaging (in Microsoft.ServiceBus.Messaging.dll)

Syntax

'Declaration
Public NotInheritable Class Topic
'Usage
Dim instance As Topic
public sealed class Topic
public ref class Topic sealed
[<SealedAttribute>]
type Topic =  class end
public final class Topic

The Topic type exposes the following members.

Properties

  Name Description
Public property DefaultMessageTimeToLive Gets the default message time to live in a topic.
Public property DuplicateDetectionHistoryTimeWindow Gets the time window (in terms of a TimeSpan) for duplicate detection history.
Public property EnableDeadLetteringOnFilterEvaluationExceptions Gets the value indicating if this topic has dead letter support on filter evaluation exceptions.
Public property EnableDeadLetteringOnMessageExpiration Gets the value indicating if this topic has dead letter support when a message expires.
Public property ExtensionData Gets the additional information describing any extension to a TopicDescription.
Public property MaximumNumberOfCorrelationFilters Gets the value indicating the maximum number of correlation filters allowed for the topic.
Public property MaximumNumberOfSqlFilters Gets the value indicating the maximum number of SQL filters allowed for the topic.
Public property MaximumNumberOfSubscriptions Gets the value indicating the maximum number of subscriptions supported by the topic.
Public property MaxTopicSizeInBytes Gets the maximum topic size in bytes.
Public property NamespaceClient Gets the namespace client that created or retrieved this subscription.
Public property Path Gets the full path of the topic.
Public property RequiresDuplicateDetection Gets the value indicating if this topic requires duplication detection.

Top

Methods

  Name Description
Public method AddSubscription(String) Adds a subscription to this topic, with a default pass-through filter added.
Public method AddSubscription(String, FilterExpression) Adds a subscription to this topic, with the supplied FilterExpression as the default filter.
Public method AddSubscription(String, RuleDescription) Adds a subscription to this topic, with the supplied RuleDescription metadata as the default filter.
Public method AddSubscription(String, SubscriptionDescription) Adds a subscription to this topic using the supplied description metadata. A default pass-through filter is added as part of the process.
Public method AddSubscription(String, SubscriptionDescription, FilterExpression) Adds a subscription to this topic, with the supplied filter as the default filter.
Public method AddSubscription(String, SubscriptionDescription, RuleDescription) Adds a subscription to this topic, with the supplied RuleDescription metadata as the default filter.
Public method BeginAddSubscription(String, AsyncCallback, Object) Begins an add subscription operation.
Public method BeginAddSubscription(String, FilterExpression, AsyncCallback, Object) Begins an add subscription operation.
Public method BeginAddSubscription(String, RuleDescription, AsyncCallback, Object) Begins an add subscription operation.
Public method BeginAddSubscription(String, SubscriptionDescription, AsyncCallback, Object) Begins an add subscription operation.
Public method BeginAddSubscription(String, SubscriptionDescription, FilterExpression, AsyncCallback, Object) Begins an add subscription operation.
Public method BeginAddSubscription(String, SubscriptionDescription, RuleDescription, AsyncCallback, Object) Begins an add subscription operation.
Public method BeginGetSubscription Begins a get subscription operation.
Public method BeginGetSubscriptions Begins a get subscriptions operation.
Public method BeginRemoveSubscription Begins a remove subscription operation.
Public method EndAddSubscription Ends an add subscription operation.
Public method EndGetSubscription Ends a get subscription operation.
Public method EndGetSubscriptions Enumerates end get subscriptions in this collection.
Public method EndRemoveSubscription Ends a remove subscription operation.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetDescription Gets the description.
Public method GetHashCode (Inherited from Object.)
Public method GetSubscription Gets a subscription.
Public method GetSubscriptions Retrieves an enumerated collection of subscriptions attached to this topic.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RemoveSubscription Removes the subscription described by name.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ServiceBus.Messaging Namespace