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
result
Type: System.IAsyncResultThe 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
Exceptions
Exception | Condition |
---|---|
TimeoutException | if the specified time-out is exceeded |
.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.