This documentation is archived and is not being maintained.

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)

public:
TfsDequeueContext^ EndDequeue(
	IAsyncResult^ result
)

Parameters

result
Type: System::IAsyncResult

The asynchronous operation

Return Value

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

ExceptionCondition
TimeoutException

if the specified time-out is exceeded

Show: