Udostępnij za pośrednictwem


Metoda TfsMessageQueueService.CreateQueue — (Uri, Int32, TimeSpan, Func<SoapException, Exception>)

Tworzy obiekt, który może służyć do usuwania z kolejki wiadomości od określonej kolejki.

Przestrzeń nazw:  Microsoft.TeamFoundation.Framework.Client
Zestaw:  Microsoft.TeamFoundation.Client (w Microsoft.TeamFoundation.Client.dll)

Składnia

'Deklaracja
Public Function CreateQueue ( _
    queueId As Uri, _
    maxPendingCount As Integer, _
    maxAcknowledgementDelay As TimeSpan, _
    convertException As Func(Of SoapException, Exception) _
) As TfsMessageQueue
public TfsMessageQueue CreateQueue(
    Uri queueId,
    int maxPendingCount,
    TimeSpan maxAcknowledgementDelay,
    Func<SoapException, Exception> convertException
)

Parametry

Wartość zwracana

Typ: Microsoft.TeamFoundation.Framework.Client.TfsMessageQueue
Obiekt dequeuing wiadomości z serwera

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

TfsMessageQueueService Klasa

Przeciążenie CreateQueue

Przestrzeń nazw Microsoft.TeamFoundation.Framework.Client