Loupe - Log - Monitor - Resolve
Gibraltar.Agent Namespace / LogListener Class / TraceEvent Method / TraceEvent(TraceEventCache,String,TraceEventType,Int32) Method
A TraceEventCache object that contains the current process ID, thread ID, and stack trace information.
A name used to identify the output, typically the name of the application that generated the trace event.
One of the TraceEventType values specifying the type of event that has caused the trace.
A numeric identifier for the event.

In This Topic
    TraceEvent(TraceEventCache,String,TraceEventType,Int32) Method
    In This Topic
    Writes trace and event information to the listener specific output.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides NotOverridable Sub TraceEvent( _
       ByVal eventCache As TraceEventCache, _
       ByVal source As String, _
       ByVal eventType As TraceEventType, _
       ByVal id As Integer _
    ) 
    public override void TraceEvent( 
       TraceEventCache eventCache,
       string source,
       TraceEventType eventType,
       int id
    )

    Parameters

    eventCache
    A TraceEventCache object that contains the current process ID, thread ID, and stack trace information.
    source
    A name used to identify the output, typically the name of the application that generated the trace event.
    eventType
    One of the TraceEventType values specifying the type of event that has caused the trace.
    id
    A numeric identifier for the event.
    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

    LogListener Class
    LogListener Members
    Overload List
    Base Implementation in TraceEvent(TraceEventCache,String,TraceEventType,Int32)