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, _
    convertException As Func(Of SoapException, Exception) _
) As TfsMessageQueue
public TfsMessageQueue CreateQueue(
    Uri queueId,
    int maxPendingCount,
    TimeSpan maxAcknowledgementDelay,
    Func<SoapException, Exception> convertException
)
public:
TfsMessageQueue^ CreateQueue(
    Uri^ queueId, 
    int maxPendingCount, 
    TimeSpan maxAcknowledgementDelay, 
    Func<SoapException^, Exception^>^ convertException
)
member CreateQueue : 
        queueId:Uri * 
        maxPendingCount:int * 
        maxAcknowledgementDelay:TimeSpan * 
        convertException:Func<SoapException, Exception> -> TfsMessageQueue
public function CreateQueue(
    queueId : Uri, 
    maxPendingCount : int, 
    maxAcknowledgementDelay : TimeSpan, 
    convertException : Func<SoapException, Exception>
) : TfsMessageQueue
Parameters
- queueId 
 Type: System.Uri- The queue identifier 
- maxPendingCount
 Type: System.Int32
- maxAcknowledgementDelay
 Type: System.TimeSpan
- convertException 
 Type: System.Func<SoapException, Exception>- An optional callback to convert a SoapException to a strongly typed exception 
Return Value
Type: Microsoft.TeamFoundation.Framework.Client.TfsMessageQueue
An object for dequeuing messages from the server
.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.