MessagingFactory.OnBeginDeleteRule Method

Executes the begin delete rule action.

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


Protected MustOverride Function OnBeginDeleteRule ( _
    ruleName As String, _
    subscription As Subscription, _
    timeout As TimeSpan, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
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, _
protected abstract IAsyncResult OnBeginDeleteRule(
    string ruleName,
    Subscription subscription,
    TimeSpan timeout,
    AsyncCallback callback,
    Object state
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


  • 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


MessagingFactory Class

Microsoft.ServiceBus.Messaging Namespace