This documentation is archived and is not being maintained.

TfsMessageQueue::EndDequeue Method (IAsyncResult, TfsDequeueContext%)

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:
bool EndDequeue(
	IAsyncResult^ result, 
	[OutAttribute] TfsDequeueContext^% context
)

Parameters

result
Type: System::IAsyncResult

The asynchronous operation

context
Type: Microsoft.TeamFoundation.Framework.Client::TfsDequeueContext%

A context used for processing and acknowledging a message. If this value is null and the return value is true, the message queue has been closed.

Return Value

Type: System::Boolean
True if the call returned in the specified time-out; otherwise, false

Show: