System.Messaging Reference (Document! X Sample)
WriteHandle Property



System.Messaging Namespace > MessageQueue Class : WriteHandle Property
Gets the native handle used to send messages to the message queue.
Syntax
'Declaration
 
Public ReadOnly Property WriteHandle As IntPtr
'Usage
 
Dim instance As MessageQueue
Dim value As IntPtr
 
value = instance.WriteHandle
public IntPtr WriteHandle {get;}
public:
property IntPtr WriteHandle {
   IntPtr get();
}

Property Value

A handle to the native queue object that you use for sending messages to the queue.
Exceptions
ExceptionDescription
The message queue is not available for writing.
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

Reference

MessageQueue Class
MessageQueue Members