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

Definition

Begins removing a RuleDescription from a SubscriptionDescription through the run-time client protocol.

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

The name of the rule to remove.

timeout
TimeSpan

The wait time before the operation times out.

callback
AsyncCallback

An AsyncCallback delegate that references the method to invoke when the operation is complete.

state
Object

A user-defined object that contains information about the receive operation. This object is passed to the RemoveRule(String) delegate when the operation is complete.

Returns

An IAsyncResult that references the asynchronous RemoveRule(String).

Applies to