System.Messaging Reference (Document! X Sample)
MaximumJournalSize Property (MessageQueue)



System.Messaging Namespace > MessageQueue Class : MaximumJournalSize Property
Gets or sets the maximum size of the journal queue.
Syntax
'Declaration
 
Public Property MaximumJournalSize As Long
'Usage
 
Dim instance As MessageQueue
Dim value As Long
 
instance.MaximumJournalSize = value
 
value = instance.MaximumJournalSize
public long MaximumJournalSize {get; set;}
public:
property int64 MaximumJournalSize {
   int64 get();
   void set (    int64 value);
}

Property Value

The maximum size, in kilobytes, of the journal queue. The Message Queuing default specifies that no limit exists.
Exceptions
ExceptionDescription
The maximum journal queue size was set to an invalid value.
An error occurred when accessing a Message Queuing method.
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