This documentation is archived and is not being maintained.
TfsMessageQueue::BeginDequeue Method
Visual Studio 2013
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.
- 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.
Show: