System.Messaging Reference (Document! X Sample)



ReadHandle Property
Gets the native handle used to read messages from the message queue.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<MessagingDescriptionAttribute("The native handle used to receive messages from the message queue.")>
Public ReadOnly Property ReadHandle As IntPtr
'Usage
 
Dim instance As MessageQueue
Dim value As IntPtr
 
value = instance.ReadHandle
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[MessagingDescription("The native handle used to receive messages from the message queue.")]
public IntPtr ReadHandle {get;}
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[MessagingDescription("The native handle used to receive messages from the message queue.")]
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