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



System.Messaging Namespace > MessageQueue Class : DenySharedReceive Property
Gets or sets a value that indicates whether this MessageQueue has exclusive access to receive messages from the Message Queuing queue.
Syntax
'Declaration
 
Public Property DenySharedReceive As Boolean
'Usage
 
Dim instance As MessageQueue
Dim value As Boolean
 
instance.DenySharedReceive = value
 
value = instance.DenySharedReceive
public bool DenySharedReceive {get; set;}
public:
property bool DenySharedReceive {
   bool get();
   void set (    bool value);
}

Property Value

true if this MessageQueue has exclusive rights to receive messages from the queue; otherwise, false. The default is false.
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