Gets or sets the maximum size of the queue.
'Declaration
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<MessagingDescriptionAttribute("Specifies the maximum size (in kilobytes) of the queue. Use "Infinity" to set the maximum value.")>
<TypeConverterAttribute("System.Messaging.Design.SizeConverter, System.Messaging, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
Public Property MaximumQueueSize As Long
'Usage
Dim instance As MessageQueue
Dim value As Long
instance.MaximumQueueSize = value
value = instance.MaximumQueueSize
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[MessagingDescription("Specifies the maximum size (in kilobytes) of the queue. Use "Infinity" to set the maximum value.")]
[TypeConverter("System.Messaging.Design.SizeConverter, System.Messaging, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public long MaximumQueueSize {get; set;}
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[MessagingDescription("Specifies the maximum size (in kilobytes) of the queue. Use "Infinity" to set the maximum value.")]
[TypeConverter("System.Messaging.Design.SizeConverter, System.Messaging, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public:
property int64 MaximumQueueSize {
int64 get();
void set ( int64 value);
}
Property Value
The maximum size, in kilobytes, of the queue. The Message Queuing default specifies that no limit exists.
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