Chat Support
Loupe - Log - Monitor - Resolve
Loupe.Extensibility.Data Namespace / ILogEvent Interface / FirstOccurrence Property

FirstOccurrence Property (ILogEvent)
Partial details about the first log message that matches this event
Syntax
'Declaration
 
ReadOnly Property FirstOccurrence As ILogMessage
 
Remarks

Not all log message properties are available based on the limits of the LogEvent data structure. The following properties are not supported:

Property Description
DomainId The unique identifier of the application domain.
DomainName The name of the application domain.
Id The Guid of the log message
IsBackground Indicates if the thread is a background (non-UI) thread.
IsThreadPoolThread Indicates if the thread is a thread pool thread.
LogSystem The name of the log system originating the message.
Sequence The sequence number of the log message within the session
ThreadId The thread Id (a number that is unique at a moment in time within an application domain)
ThreadName The name assigned to the thread, if any.
UserName The identity associated with the log message.

If any of the above properties are referenced a NotSupportedException will be thrown.

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