Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / Session Class / GetMessages Method

In This Topic
    GetMessages Method (Session)
    In This Topic
    The set of log messages for this session.
    Syntax
    'Declaration
     
    
    Public Function GetMessages() As IEnumerable(Of LogMessage)
    public IEnumerable<LogMessage> GetMessages()

    Return Value

    An enumerable of the messages
    Remarks
    This method provides an enumerable that reads the session data from the data file each time it is iterated so it won't consume excessive memory even if the file is very large or contains very large messages.
    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