Export (0) Print
Expand All

Topic::AddSubscription Method (String, FilterExpression)

Adds a subscription to this topic, with the supplied FilterExpression as the default filter.

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

public:
Subscription^ AddSubscription(
	String^ name, 
	FilterExpression^ filter
)

Parameters

name
Type: System::String
Name of the subscription.
filter
Type: Microsoft.ServiceBus.Messaging.Filters::FilterExpression
The filter.

Return Value

Type: Microsoft.ServiceBus.Messaging::Subscription
An instance of the Subscription management entity.
Show:
© 2014 Microsoft