Exportera (0) Skriv ut
Visa allt
EN
Det här innehållet finns inte tillgängligt på ditt språk men här finns den engelska versionen,

SubscriptionClient.AddRuleAsync Method (String, Filter)

Asynchronously adds a rule to the current subscription with the specified name and filter expression.

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

public Task AddRuleAsync(
	string ruleName,
	Filter filter
)

Parameters

ruleName
Type: System.String
The name of the rule to add.
filter
Type: Microsoft.ServiceBus.Messaging.Filter
The filter expression against which messages will be matched.

Return Value

Type: System.Threading.Tasks.Task
A task instance that represents the asynchronous add rule operation.

Gruppinnehåll

Lägg till
Visa:
© 2014 Microsoft