Share via


SessionReceiver.OnBeginDeadLetter Method

Executes the begin move to dead letter queue action.

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

Syntax

'Declaration
Protected Overrides Function OnBeginDeadLetter ( _
    lockTokens As IEnumerable(Of Guid), _
    timeout As TimeSpan, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim lockTokens As IEnumerable(Of Guid)
Dim timeout As TimeSpan
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = Me.OnBeginDeadLetter(lockTokens, _
    timeout, callback, state)
protected override IAsyncResult OnBeginDeadLetter(
    IEnumerable<Guid> lockTokens,
    TimeSpan timeout,
    AsyncCallback callback,
    Object state
)
protected:
virtual IAsyncResult^ OnBeginDeadLetter(
    IEnumerable<Guid>^ lockTokens, 
    TimeSpan timeout, 
    AsyncCallback^ callback, 
    Object^ state
) override
abstract OnBeginDeadLetter : 
        lockTokens:IEnumerable<Guid> * 
        timeout:TimeSpan * 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult 
override OnBeginDeadLetter : 
        lockTokens:IEnumerable<Guid> * 
        timeout:TimeSpan * 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult 
protected override function OnBeginDeadLetter(
    lockTokens : IEnumerable<Guid>, 
    timeout : TimeSpan, 
    callback : AsyncCallback, 
    state : Object
) : IAsyncResult

Parameters

Return Value

Type: System.IAsyncResult
The result of the action.

See Also

Reference

SessionReceiver Class

Microsoft.ServiceBus.Messaging Namespace