Collapse All Expand All

.NET Framework Class Library
Admin Class See Also

[TIBCO.EMS .NET Admin client library 5.1 documentation]

Create a queue based on the parameters from the given QueueInfo.

Namespace: TIBCO.EMS.ADMIN
Assembly: TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)

# Syntax

    public QueueInfo CreateQueue(
    	QueueInfo queue
    )

    Public Function CreateQueue ( _
    	queue As QueueInfo _
    ) As QueueInfo

    public:
    QueueInfo^ CreateQueue(
    	QueueInfo^ queue
    )

#### Parameters

queue
  Type: TIBCO.EMS.ADMIN..::.QueueInfo
  The description of the queue to be created.

#### Return Value

The fully configured QueueInfo from the server.

# Exceptions

Exception | Condition
--- | ---
TIBCO.EMS.ADMIN..::.AdminException | if not authorized or an error occurred.
TIBCO.EMS.ADMIN..::.AdminInvalidNameException | if the name of the queue is not a legal queue name.
TIBCO.EMS.ADMIN..::.AdminNameExistsException | if a queue already exists with the given name.

# See Also

Admin Class
TIBCO.EMS.ADMIN Namespace