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



System.Messaging Namespace > PeekCompletedEventArgs Class : Message Property
Gets the message associated with the asynchronous peek operation.
Syntax
'Declaration
 
Public ReadOnly Property Message As Message
'Usage
 
Dim instance As PeekCompletedEventArgs
Dim value As Message
 
value = instance.Message
public Message Message {get;}
public:
property Message^ Message {
   Message^ get();
}

Property Value

A Message that represents the end result of the asynchronous peek operation.
Exceptions
ExceptionDescription
The Message could not be retrieved. The time-out on the asynchronous operation might have expired.
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

PeekCompletedEventArgs Class
PeekCompletedEventArgs Members