Expand Minimize
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.