System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessageQueueEnumerator Class / LocatorHandle Property



In This Topic
    LocatorHandle Property
    In This Topic
    Gets the native Message Queuing handle used to locate queues in a network.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property LocatorHandle As IntPtr
    'Usage
     
    
    Dim instance As MessageQueueEnumerator
    Dim value As IntPtr
     
    value = instance.LocatorHandle
    public IntPtr LocatorHandle {get;}
    public:
    property IntPtr LocatorHandle {
       IntPtr get();
    }

    Property Value

    The native handle to the current queue.
    Exceptions
    ExceptionDescription
    The handle does not exist.
    The calling code does not have browse permissions.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also