SALES: 1-800-867-1380

NamespaceManager.CreateSubscriptionAsync Method (String, String, RuleDescription)

Asynchronously creates a new subscription in the service namespace with the specified topic path, subscription name, and rule description.

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

public function CreateSubscriptionAsync(
	topicPath : String, 
	name : String, 
	ruleDescription : RuleDescription
) : Task<SubscriptionDescription>

Parameters

topicPath
Type: System.String
The topic path relative to the service namespace base address.
name
Type: System.String
The name of the subscription.
ruleDescription
Type: Microsoft.ServiceBus.Messaging.RuleDescription
A RuleDescription object describing the attributes with which the messages are matched and acted upon.

Return Value

Type: System.Threading.Tasks.Task(SubscriptionDescription)
The asynchronously created subscription.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft