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

 

Begins removing a RuleDescription from a SubscriptionDescription 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.

Return to top
Show: