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 <BrowsableAttribute(False)> <DefaultValueAttribute()> <MessagingDescriptionAttribute("If true, no other instance of this object will be able to receive messages.")> Public Property DenySharedReceive As Boolean
'Usage Dim instance As MessageQueue Dim value As Boolean instance.DenySharedReceive = value value = instance.DenySharedReceive
[Browsable(false)] [DefaultValue()] [MessagingDescription("If true, no other instance of this object will be able to receive messages.")] public bool DenySharedReceive {get; set;}
[Browsable(false)] [DefaultValue()] [MessagingDescription("If true, no other instance of this object will be able to receive messages.")] 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