次の方法で共有


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)

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.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

.NET Framework Security

See Also

Reference

TfsMessageQueue Class

Microsoft.TeamFoundation.Framework.Client Namespace