System.Messaging Reference (Document! X Sample)



UseJournalQueue Property (MessagePropertyFilter)
Gets or sets a value that indicates whether to retrieve UseJournalQueue property information when receiving or peeking a message.
Syntax
'Declaration
 
<MessagingDescriptionAttribute("Specifies if a copy of the message should be kept in a machine journal (on the originating machine).")>
<DefaultValueAttribute()>
Public Property UseJournalQueue As Boolean
'Usage
 
Dim instance As MessagePropertyFilter
Dim value As Boolean
 
instance.UseJournalQueue = value
 
value = instance.UseJournalQueue
[MessagingDescription("Specifies if a copy of the message should be kept in a machine journal (on the originating machine).")]
[DefaultValue()]
public bool UseJournalQueue {get; set;}
[MessagingDescription("Specifies if a copy of the message should be kept in a machine journal (on the originating machine).")]
[DefaultValue()]
public:
property bool UseJournalQueue {
   bool get();
   void set (    bool value);
}

Property Value

true to receive UseJournalQueue information; otherwise, false. The default is true.
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