Megosztás a következőn keresztül:


TfsMessageQueueService.CreateQueue Method (Uri, Int32, TimeSpan)

Creates an object which may be used to dequeue messages from the specified queue.

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

Syntax

'Declaration
Public Function CreateQueue ( _
    queueId As Uri, _
    maxPendingCount As Integer, _
    maxAcknowledgementDelay As TimeSpan _
) As TfsMessageQueue
public TfsMessageQueue CreateQueue(
    Uri queueId,
    int maxPendingCount,
    TimeSpan maxAcknowledgementDelay
)
public:
TfsMessageQueue^ CreateQueue(
    Uri^ queueId, 
    int maxPendingCount, 
    TimeSpan maxAcknowledgementDelay
)
member CreateQueue : 
        queueId:Uri * 
        maxPendingCount:int * 
        maxAcknowledgementDelay:TimeSpan -> TfsMessageQueue
public function CreateQueue(
    queueId : Uri, 
    maxPendingCount : int, 
    maxAcknowledgementDelay : TimeSpan
) : TfsMessageQueue

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Client.TfsMessageQueue
An object for dequeuing messages from the server

.NET Framework Security

See Also

Reference

TfsMessageQueueService Class

CreateQueue Overload

Microsoft.TeamFoundation.Framework.Client Namespace