System.Messaging Reference (Document! X Sample)



MaximumQueueSize Property (MessageQueueInstaller)
Gets or sets the maximum size of the queue.
Syntax
'Declaration
 
<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 MessageQueueInstaller
Dim value As Long
 
instance.MaximumQueueSize = value
 
value = instance.MaximumQueueSize
[TypeConverter("System.Messaging.Design.SizeConverter, System.Messaging, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public long MaximumQueueSize {get; set;}
[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 is no limit.
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