This documentation is archived and is not being maintained.

TfsMessageQueue::BeginDequeue Method

Begins 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:
IAsyncResult^ BeginDequeue(
	TimeSpan timeout, 
	AsyncCallback^ callback, 
	Object^ state
)

Parameters

timeout
Type: System::TimeSpan

The maximum time to wait for a message to be received

callback
Type: System::AsyncCallback

The System.AsyncCallback delegate that receives notification that the operation is completed.

state
Type: System::Object

An object, specified by the caller, that contains state information associated with the asynchronous operation.

Return Value

Type: System::IAsyncResult
The asynchronous operation

Show: