SubscriptionClient.OnBeginRemoveRulesByTag Method

Definition

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

protected abstract IAsyncResult OnBeginRemoveRulesByTag (string tag, TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginRemoveRulesByTag : string * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginRemoveRulesByTag (tag As String, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

tag
String

The tag to be used.

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 operation to add a new rule to the subscription.

Applies to