Gets a value that indicates whether the MessageQueue can be read.
Assembly: System.Messaging (in System.Messaging.dll)
indicates whether the application is able to peek or receive messages from the queue. If is true, the MessageQueue can receive or peek messages from the queue. Otherwise, it cannot.
is false if a queue is already open with exclusive read access (or if it's open with non-exclusive access and this MessageQueue requests exclusive access), or if the application does not have sufficient rights to access it. If your application tries to read from a queue when is false, access is denied.
The following table shows whether this property is available in various Workgroup modes.
Local computer and direct format name
Remote computer and direct format name
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.