SALES: 1-800-867-1380
Expand Minimize
This topic has not yet been rated - Rate this topic

SubscriptionClient.BeginRemoveRule Method

Begins an asynchronous remove rule action.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
Public Function BeginRemoveRule ( _
	ruleName As String, _
	callback As AsyncCallback, _
	state As Object _
) As IAsyncResult
Dim instance As SubscriptionClient
Dim ruleName As String
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginRemoveRule(ruleName, _
	callback, state)


Type: System.String
The name of the rule.
Type: System.AsyncCallback
An AsyncCallback delegate that references the method to invoke when the operation is complete.
Type: System.Object
A user-defined object that contains information about the receive operation. This object is passed to the EndRemoveRule(IAsyncResult) delegate when the operation is complete.

Return Value

Type: System.IAsyncResult
An IAsyncResult object that references the asynchronous RemoveRule(String).

Thrown when rule does not exist.


Thrown if description.Name is null, white space empty or not in the right format.


ThrowN if the operation exceeded the timeout value set via OperationTimeout.


Thrown if the client entity has been closed or aborted.

This is an asynchronous version of the RemoveRule(String) method.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.