SALES: 1-800-867-1380
Collapse the table of content
Expand the table of content
Expand Minimize

SubscriptionClient.OnBeginRemoveRule Method (String, TimeSpan, AsyncCallback, Object)

 

Begins removing a T:Microsoft.ServiceBus.Messaging.Rule from a T:Microsoft.ServiceBus.Messaging.Subscription through the run-time client protocol.

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

protected abstract IAsyncResult OnBeginRemoveRule(
	string ruleName,
	TimeSpan timeout,
	AsyncCallback callback,
	object state
)

Parameters

ruleName
Type: System.String

The name of the rule to remove.

timeout
Type: System.TimeSpan

The wait time before the operation 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 information about the receive operation. This object is passed to the RemoveRule delegate when the operation is complete.

Return Value

Type: System.IAsyncResult

An IAsyncResult that references the asynchronous RemoveRule.

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

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft