TfsMessageQueue.EndDequeue Method (IAsyncResult)

Ends an asynchronous operation to dequeue a message from the queue.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Function EndDequeue ( _
    result As IAsyncResult _
) As TfsDequeueContext
public TfsDequeueContext EndDequeue(
    IAsyncResult result
)
public:
TfsDequeueContext^ EndDequeue(
    IAsyncResult^ result
)
member EndDequeue : 
        result:IAsyncResult -> TfsDequeueContext
public function EndDequeue(
    result : IAsyncResult
) : TfsDequeueContext

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Client.TfsDequeueContext
The message which was dequeued from the server, or null if the queue has been closed

Exceptions

Exception Condition
TimeoutException

if the specified time-out is exceeded

.NET Framework Security

See Also

Reference

TfsMessageQueue Class

EndDequeue Overload

Microsoft.TeamFoundation.Framework.Client Namespace