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 | |
---|---|---|
DefaultMessageTimeToLive | Gets the default message time to live in a topic. | |
DuplicateDetectionHistoryTimeWindow | Gets the time window (in terms of a TimeSpan) for duplicate detection history. | |
EnableDeadLetteringOnFilterEvaluationExceptions | Gets the value indicating if this topic has dead letter support on filter evaluation exceptions. | |
EnableDeadLetteringOnMessageExpiration | Gets the value indicating if this topic has dead letter support when a message expires. | |
ExtensionData | Gets the additional information describing any extension to a TopicDescription. | |
MaximumNumberOfCorrelationFilters | Gets the value indicating the maximum number of correlation filters allowed for the topic. | |
MaximumNumberOfSqlFilters | Gets the value indicating the maximum number of SQL filters allowed for the topic. | |
MaximumNumberOfSubscriptions | Gets the value indicating the maximum number of subscriptions supported by the topic. | |
MaxTopicSizeInBytes | Gets the maximum topic size in bytes. | |
NamespaceClient | Gets the namespace client that created or retrieved this subscription. | |
Path | Gets the full path of the topic. | |
RequiresDuplicateDetection | Gets the value indicating if this topic requires duplication detection. |
Top
Methods
Name | Description | |
---|---|---|
AddSubscription(String) | Adds a subscription to this topic, with a default pass-through filter added. | |
AddSubscription(String, FilterExpression) | Adds a subscription to this topic, with the supplied FilterExpression as the default filter. | |
AddSubscription(String, RuleDescription) | Adds a subscription to this topic, with the supplied RuleDescription metadata as the default filter. | |
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. | |
AddSubscription(String, SubscriptionDescription, FilterExpression) | Adds a subscription to this topic, with the supplied filter as the default filter. | |
AddSubscription(String, SubscriptionDescription, RuleDescription) | Adds a subscription to this topic, with the supplied RuleDescription metadata as the default filter. | |
BeginAddSubscription(String, AsyncCallback, Object) | Begins an add subscription operation. | |
BeginAddSubscription(String, FilterExpression, AsyncCallback, Object) | Begins an add subscription operation. | |
BeginAddSubscription(String, RuleDescription, AsyncCallback, Object) | Begins an add subscription operation. | |
BeginAddSubscription(String, SubscriptionDescription, AsyncCallback, Object) | Begins an add subscription operation. | |
BeginAddSubscription(String, SubscriptionDescription, FilterExpression, AsyncCallback, Object) | Begins an add subscription operation. | |
BeginAddSubscription(String, SubscriptionDescription, RuleDescription, AsyncCallback, Object) | Begins an add subscription operation. | |
BeginGetSubscription | Begins a get subscription operation. | |
BeginGetSubscriptions | Begins a get subscriptions operation. | |
BeginRemoveSubscription | Begins a remove subscription operation. | |
EndAddSubscription | Ends an add subscription operation. | |
EndGetSubscription | Ends a get subscription operation. | |
EndGetSubscriptions | Enumerates end get subscriptions in this collection. | |
EndRemoveSubscription | Ends a remove subscription operation. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetDescription | Gets the description. | |
GetHashCode | (Inherited from Object.) | |
GetSubscription | Gets a subscription. | |
GetSubscriptions | Retrieves an enumerated collection of subscriptions attached to this topic. | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
RemoveSubscription | Removes the subscription described by name. | |
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.