Share via


MessageReceiver.OnComplete Method

Executes the complete action.

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

Syntax

'Declaration
Protected Overridable Sub OnComplete ( _
    lockTokens As IEnumerable(Of Guid), _
    timeout As TimeSpan _
)
'Usage
Dim lockTokens As IEnumerable(Of Guid)
Dim timeout As TimeSpan

Me.OnComplete(lockTokens, timeout)
protected virtual void OnComplete(
    IEnumerable<Guid> lockTokens,
    TimeSpan timeout
)
protected:
virtual void OnComplete(
    IEnumerable<Guid>^ lockTokens, 
    TimeSpan timeout
)
abstract OnComplete : 
        lockTokens:IEnumerable<Guid> * 
        timeout:TimeSpan -> unit 
override OnComplete : 
        lockTokens:IEnumerable<Guid> * 
        timeout:TimeSpan -> unit 
protected function OnComplete(
    lockTokens : IEnumerable<Guid>, 
    timeout : TimeSpan
)

Parameters

See Also

Reference

MessageReceiver Class

Microsoft.ServiceBus.Messaging Namespace