System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessageQueue Class / ReadHandle Property



In This Topic
    ReadHandle Property
    In This Topic
    Gets the native handle used to read messages from the message queue.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property ReadHandle As IntPtr
    'Usage
     
    
    Dim instance As MessageQueue
    Dim value As IntPtr
     
    value = instance.ReadHandle
    public IntPtr ReadHandle {get;}
    public:
    property IntPtr ReadHandle {
       IntPtr get();
    }

    Property Value

    A handle to the native queue object that you use for peeking and receiving messages from the queue.
    Exceptions
    ExceptionDescription
    An error occurred when accessing a Message Queuing method.
    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