System.Messaging Reference (Document! X Sample)
LookupId Property (Message)



System.Messaging Namespace > Message Class : LookupId Property
Introduced in MSMQ 3.0. Gets the message's lookup identifier.
Syntax
'Declaration
 
Public ReadOnly Property LookupId As Long
'Usage
 
Dim instance As Message
Dim value As Long
 
value = instance.LookupId
public long LookupId {get;}
public:
property int64 LookupId {
   int64 get();
}

Property Value

The message's lookup identifier, which is generated by Message Queuing and is unique to the queue where the message resides.
Exceptions
ExceptionDescription
MSMQ 3.0 is not installed.
The message has not been sent. This property can only be read on messages retrieved from a queue.-or- The message queue is filtered to ignore the LookupId property.
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

Message Class
Message Members