Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Function BeginDequeue ( _
timeout As TimeSpan, _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
public IAsyncResult BeginDequeue(
TimeSpan timeout,
AsyncCallback callback,
Object state
)
public:
IAsyncResult^ BeginDequeue(
TimeSpan timeout,
AsyncCallback^ callback,
Object^ state
)
member BeginDequeue :
timeout:TimeSpan *
callback:AsyncCallback *
state:Object -> IAsyncResult
public function BeginDequeue(
timeout : TimeSpan,
callback : AsyncCallback,
state : Object
) : IAsyncResult
Parameters
timeout
Type: System.TimeSpanThe maximum time to wait for a message to be received
callback
Type: System.AsyncCallbackThe System.AsyncCallback delegate that receives notification that the operation is completed.
state
Type: System.ObjectAn object, specified by the caller, that contains state information associated with the asynchronous operation.
Return Value
Type: System.IAsyncResult
The asynchronous operation
.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.