[TIBCO.EMS .NET Admin client library 8.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

ExceptionCondition
TIBCO.EMS.ADMIN..::.AdminExceptionif not authorized or an error occurred.
TIBCO.EMS.ADMIN..::.AdminInvalidNameExceptionif the name of the queue is not a legal queue name.
TIBCO.EMS.ADMIN..::.AdminNameExistsExceptionif a queue already exists with the given name.

See Also