SALES: 1-800-867-1380

NamespaceManager.CreateSubscription Method (String, String, Filter)

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

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

public SubscriptionDescription CreateSubscription(
	string topicPath,
	string name,
	Filter filter
)

Parameters

topicPath
Type: System.String
The topic path relative to the service namespace base address.
name
Type: System.String
The name of the subscription.
filter
Type: Microsoft.ServiceBus.Messaging.Filter
The filter expression used to capture messages satisfying the filtering expression value.

Return Value

Type: Microsoft.ServiceBus.Messaging.SubscriptionDescription
The SubscriptionDescription of the newly created subscription.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft