SALES: 1-800-867-1380

NamespaceManager.GetRulesAsync Method (String, String, String)

Asynchronously retrieves an enumerable collection of all rules in the service namespace with specified topic path, subscription name and filter.

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

Public Function GetRulesAsync ( _
	topicPath As String, _
	subscriptionName As String, _
	filter As String _
) As Task(Of IEnumerable(Of RuleDescription))
Dim instance As NamespaceManager
Dim topicPath As String
Dim subscriptionName As String
Dim filter As String
Dim returnValue As Task(Of IEnumerable(Of RuleDescription))

returnValue = instance.GetRulesAsync(topicPath, _
	subscriptionName, filter)


Type: System.String
The topic path relative to the service namespace base address.
Type: System.String
The name of the subscription.
Type: System.String
The string used to filter the rules to be retrieved.

Return Value

Type: System.Threading.Tasks.Task(Of IEnumerable(Of RuleDescription))
The asynchronous operation.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft