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 function AddSubscription(
	name : String, 
	filter : FilterExpression
) : Subscription

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