MessageQueueEnumerator::LocatorHandle Property

 

Gets the native Message Queuing handle used to locate queues in a network.

Namespace:   System.Messaging
Assembly:  System.Messaging (in System.Messaging.dll)

public:
property IntPtr LocatorHandle {
	IntPtr get();
}

Property Value

Type: System::IntPtr

The native handle to the current queue.

Exception Condition
MessageQueueException

The handle does not exist.

SecurityException

The calling code does not have browse permissions.

When you no longer need this MessageQueueEnumerator instance, call Close to free this handle to the resource.

.NET Framework
Available since 1.1
Return to top
Show: