System.Messaging Reference (Document! X Sample)



IsLastInTransaction Property (MessagePropertyFilter)
Gets or sets a value that indicates whether to retrieve IsLastInTransaction property information when receiving or peeking a message.
Syntax
'Declaration
 
<MessagingDescriptionAttribute("It is used by receiving applications to verify that a message was the last message sent from a single transaction to a single queue.")>
<DefaultValueAttribute()>
Public Property IsLastInTransaction As Boolean
'Usage
 
Dim instance As MessagePropertyFilter
Dim value As Boolean
 
instance.IsLastInTransaction = value
 
value = instance.IsLastInTransaction
[MessagingDescription("It is used by receiving applications to verify that a message was the last message sent from a single transaction to a single queue.")]
[DefaultValue()]
public bool IsLastInTransaction {get; set;}
[MessagingDescription("It is used by receiving applications to verify that a message was the last message sent from a single transaction to a single queue.")]
[DefaultValue()]
public:
property bool IsLastInTransaction {
   bool get();
   void set (    bool value);
}

Property Value

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