MSMQQueue.Handle
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
The Handle property of the MSMQQueue object indicates the handle of the opened queue.
Data type: | Long |
Run-time access: | Read-only |
Property Handle As Long
Property Value
A Long specifying the queue handle that was generated when the queue was opened.
When Message Queuing successfully closes the queue, it sets the Handle property to INVALID_HANDLE_VALUE but does not delete the MSMQQueue object.
Requirements
Windows NT/2000/XP: Included in Windows NT 4.0 SP3 and later.
Windows 95/98/Me: Included in Windows 95 and later.
Header: Declared in Mqoai.h.
Library: Use Mqoa.lib.