MessagingFactory.OnBeginDeleteRule Method

Executes the begin delete rule action.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus.Messaging (in Microsoft.ServiceBus.Messaging.dll)

Syntax

'Declaration
Protected MustOverride Function OnBeginDeleteRule ( _
    ruleName As String, _
    subscription As Subscription, _
    timeout As TimeSpan, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim ruleName As String
Dim subscription As Subscription
Dim timeout As TimeSpan
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = Me.OnBeginDeleteRule(ruleName, _
    subscription, timeout, callback, _
    state)
protected abstract IAsyncResult OnBeginDeleteRule(
    string ruleName,
    Subscription subscription,
    TimeSpan timeout,
    AsyncCallback callback,
    Object state
)
protected:
virtual IAsyncResult^ OnBeginDeleteRule(
    String^ ruleName, 
    Subscription^ subscription, 
    TimeSpan timeout, 
    AsyncCallback^ callback, 
    Object^ state
) abstract
abstract OnBeginDeleteRule : 
        ruleName:string * 
        subscription:Subscription * 
        timeout:TimeSpan * 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult 
protected abstract function OnBeginDeleteRule(
    ruleName : String, 
    subscription : Subscription, 
    timeout : TimeSpan, 
    callback : AsyncCallback, 
    state : Object
) : IAsyncResult

Parameters

  • callback
    Type: System.AsyncCallback
    References the method to invoke when the operation is complete.
  • state
    Type: System.Object
    Contains information about the operation.

Return Value

Type: System.IAsyncResult
.

See Also

Reference

MessagingFactory Class

Microsoft.ServiceBus.Messaging Namespace