Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / LogMessage Class / CompareTo Method

In This Topic
    CompareTo Method (LogMessage)
    In This Topic
    Compare this log message with another to determine if they are the same or how they should be sorted relative to each other.
    Syntax
    'Declaration
     
    
    Public Function CompareTo( _
       ByVal other As LogMessage _
    ) As Integer
    public int CompareTo( 
       LogMessage other
    )

    Parameters

    other

    Return Value

    0 for an exact match, otherwise the relationship between the two for sorting.
    Remarks
    LogMessage instances are sorted by the Sequence number property of the MessagePacket they encompass.
    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