Delen via


TeamFoundationMessageQueueService.EndDequeue Method

Ends an asynchronous dequeue operation on a message queue.

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

Syntax

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

Parameters

Return Value

Type: System.ServiceModel.Channels.Message
The message which was dequeued, or null

Exceptions

Exception Condition
TimeoutException

If the dequeue operation times out

OperationCanceledException

If the dequeue operation is canceled

MessageQueueNotFoundException

If the specified message queue does not exist

.NET Framework Security

See Also

Reference

TeamFoundationMessageQueueService Class

Microsoft.TeamFoundation.Framework.Server Namespace