CreateQueue Method

Top  Previous  Next

Create a new Queue within the LPD control Queue list.

 

Visual Basic Syntax

 

TnbXLPD.CreateQueue (QueueName As String)

 

Delphi Syntax

 

TnbXLPD.CreateQueue(QueueName:string);

 

 

Remarks

 

Any Queue in the LPD has a unique name. When trying to create a Queue with a name that is already in use a exception occurs.

 

After this operation, any request from clients to use this Queue would be accepted unless  the property Enabled is set to False.

 

See also Enabled property, OnConnect event.