Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateSubscription Method (String, String)

NamespaceManager.CreateSubscription Method (String, String)


Creates a new subscription in the service namespace with the specified topic path and subscription name.

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

public SubscriptionDescription CreateSubscription(
	string topicPath,
	string name


Type: System.String

The topic path relative to the service namespace base address.

Type: System.String

The name of the subscription.

Return Value

Type: Microsoft.ServiceBus.Messaging.SubscriptionDescription

The SubscriptionDescription of the newly created subscription.

Return to top
© 2015 Microsoft