Export (0) Print
Expand All
Expand Minimize

NamespaceManager.GetSubscription Method

Retrieves the topic from the service namespace.

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

public SubscriptionDescription GetSubscription(
	string topicPath,
	string name
)

Parameters

topicPath
Type: System.String
The path of the topic relative to the service namespace base address.
name
Type: System.String
The name of the subscription.

Return Value

Type: Microsoft.ServiceBus.Messaging.SubscriptionDescription
A SubscriptionDescription handle to the subscription, or a MessagingEntityNotFoundException exception if the subscription does not exist in the service namespace.

ExceptionCondition
MessagingEntityNotFoundException

The subscription does not exist in the service namespace.

Community Additions

ADD
Show:
© 2014 Microsoft