Delen via


Referencing a Queue

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

To perform an operation on a queue, an application must reference the queue in one of five ways, depending on the operation that the application is performing:

  • By path name—used to create the queue, to open the queue for sending, peeking at, and receiving messages, to reset the properties and security descriptor of the queue, and to delete the queue.

  • By format name—used to open the queue for sending, peeking at, and receiving messages, to reset the properties and security descriptor of the queue, and to delete the queue.

  • By queue handle—used to send messages to the queue, read from the queue, and create cursors for navigating through the queue (a queue handle can also be used to create a format name for the queue that can then be passed on to other processes).

  • By queue alias—used to include queues that are not listed in Active Directory Domain Services (AD DS), such as a private queue or a URL-named queue, in a distribution list.

  • By ADs path—used to reference queues when creating or maintaining a distribution list.

For information on See
Referencing a queue by its path name Queue Path Names
Referencing a queue by its format name Format Names
Referencing a queue by its queue handle Queue Handle
Referencing a queue using a queue alias Queue Alias
Referencing a queue using its ADs path Distribution List Format Names