Subscription Class
Represents a Subscription entity.
Inheritance Hierarchy
System.Object
Microsoft.ServiceBus.Messaging.Subscription
Namespace: Microsoft.ServiceBus.Messaging
Assembly: Microsoft.ServiceBus.Messaging (in Microsoft.ServiceBus.Messaging.dll)
Syntax
'Declaration
Public NotInheritable Class Subscription
'Usage
Dim instance As Subscription
public sealed class Subscription
public ref class Subscription sealed
[<SealedAttribute>]
type Subscription = class end
public final class Subscription
The Subscription type exposes the following members.
Properties
Name | Description | |
---|---|---|
DefaultMessageTimeToLive | Gets the default message time to live of the subscription. | |
EnableDeadLetteringOnFilterEvaluationExceptions | Gets the value that indicates if this subscription has dead letter support on Filter evaluation exceptions. | |
EnableDeadLetteringOnMessageExpiration | Gets the value that indicates if this subscription has dead letter support when a message expires. | |
ExtensionData | Gets the additional information that describes any extension to a subscription description. | |
LockDuration | Gets the lock duration time span associated with this subscription. | |
Name | Gets the name of the subscription. | |
NamespaceClient | Gets the namespace client that created or retrieved this subscription. | |
RequiresSession | Gets the value indicating if this subscription supports the concept of session. This reflects the value specified by RequiresSession when the subscription was created. | |
TopicPath | Gets the path of the topic that this subscription belongs to. |
Top
Methods
Name | Description | |
---|---|---|
AddRule(String, FilterExpression) | Adds a rule to this subscription. | |
AddRule(String, RuleDescription) | Adds a rule to this subscription. | |
BeginAddRule(String, FilterExpression, AsyncCallback, Object) | Asynchronous version of the AddRule method. | |
BeginAddRule(String, RuleDescription, AsyncCallback, Object) | Asynchronous version of the AddRule method. | |
BeginGetRule | Asynchronous version of the GetRule method. | |
BeginGetRules | Asynchronous version of the GetRules method. | |
BeginRemoveRule | Asynchronous version of the RemoveRule method. | |
EndAddRule | Ends an add rule operation. | |
EndGetRule | Ends a get rule. | |
EndGetRules | Enumerates end get rules in this collection. | |
EndRemoveRule | Ends a remove rule operation. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetDescription | Gets a copy of the subscription’s description. | |
GetHashCode | (Inherited from Object.) | |
GetRule | Gets a rule with the specified name. Returns null if the rule does not exist in this subscription. | |
GetRules | Gets all rules in an enumerated collection. | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
RemoveRule | Removes the rule described by ruleName. | |
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.