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



System.Messaging Namespace > MessageQueue Class : UseJournalQueue Property
Gets or sets a value that indicates whether received messages are copied to the journal queue.
Syntax
'Declaration
 
Public Property UseJournalQueue As Boolean
'Usage
 
Dim instance As MessageQueue
Dim value As Boolean
 
instance.UseJournalQueue = value
 
value = instance.UseJournalQueue
public bool UseJournalQueue {get; set;}
public:
property bool UseJournalQueue {
   bool get();
   void set (    bool value);
}

Property Value

true if messages received from the queue are copied to its journal queue; otherwise, false.
Exceptions
ExceptionDescription
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