Share via


TeamFoundationMessageQueueService.CreateQueue Method

Creates a new message queue.

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

Syntax

'Declaration
Public Sub CreateQueue ( _
    requestContext As TeamFoundationRequestContext, _
    queueName As String, _
    description As String _
)
public void CreateQueue(
    TeamFoundationRequestContext requestContext,
    string queueName,
    string description
)
public:
void CreateQueue(
    TeamFoundationRequestContext^ requestContext, 
    String^ queueName, 
    String^ description
)
member CreateQueue : 
        requestContext:TeamFoundationRequestContext * 
        queueName:string * 
        description:string -> unit
public function CreateQueue(
    requestContext : TeamFoundationRequestContext, 
    queueName : String, 
    description : String
)

Parameters

  • description
    Type: System.String

    An optional description of the message queue

Exceptions

Exception Condition
AccessCheckException

If the caller does not have Create permission for the message queue security namespace

MessageQueueAlreadyExistsException

If a message queue already exists with the specified name

.NET Framework Security

See Also

Reference

TeamFoundationMessageQueueService Class

Microsoft.TeamFoundation.Framework.Server Namespace