Udostępnij za pośrednictwem


SubscriptionClient.OnBeginRemoveRule 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

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