SALES: 1-800-867-1380
Expand Minimize

SubscriptionClient.OnBeginAddRule Method

Executes upon calling the BeginAddRule operation.

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

protected abstract IAsyncResult OnBeginAddRule(
	RuleDescription description,
	TimeSpan timeout,
	AsyncCallback callback,
	Object state
)

Parameters

description
Type: Microsoft.ServiceBus.Messaging.RuleDescription
The rule description that provides metadata of the rule to add.
timeout
Type: System.TimeSpan
The time span this operation waits before it times out.
callback
Type: System.AsyncCallback
An AsyncCallback delegate that references the method to invoke when the operation is complete.
state
Type: System.Object
A user-defined object that contains state information about the asynchronous operation.

Return Value

Type: System.IAsyncResult
An IAsyncResult that references the asynchronous operation to add a new rule to the subscription.

This is a protected member of the abstract SubscriptionClient class. Abstract classes are not meant to be inherited, so protected members should be ignored.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft