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, _
    <OutAttribute> ByRef context As TfsDequeueContext _
) As Boolean
public bool EndDequeue(
    IAsyncResult result,
    out TfsDequeueContext context
)
public:
bool EndDequeue(
    IAsyncResult^ result, 
    [OutAttribute] TfsDequeueContext^% context
)
member EndDequeue : 
        result:IAsyncResult * 
        context:TfsDequeueContext byref -> bool
public function EndDequeue(
    result : IAsyncResult, 
    context : TfsDequeueContext
) : boolean
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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.