This documentation is archived and is not being maintained.
TfsMessageQueueService::CreateQueue Method (Uri, Int32, TimeSpan, Func<SoapException, Exception>)
Visual Studio 2013
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)
public: TfsMessageQueue^ CreateQueue( Uri^ queueId, int maxPendingCount, TimeSpan maxAcknowledgementDelay, Func<SoapException^, Exception^>^ convertException )
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::TfsMessageQueueAn object for dequeuing messages from the server
- 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.
Show: