SubscriptionClient.OnBeginRemoveRule(String, TimeSpan, AsyncCallback, Object) SubscriptionClient.OnBeginRemoveRule(String, TimeSpan, AsyncCallback, Object) 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);
abstract member OnBeginRemoveRule : string * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginRemoveRule (ruleName As String, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
ruleName
String String String

The name of the rule to remove.

timeout
TimeSpan TimeSpan TimeSpan

The wait time before the operation times out.

callback
AsyncCallback AsyncCallback AsyncCallback

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

state
Object Object 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

Applies to