Loupe - Log - Monitor - Resolve
Gibraltar.Agent Namespace / Log Class / Initializing Event

In This Topic
    Initializing Event (Log)
    In This Topic
    Raised whenever the log system is being started to enable programmatic configuration.
    Public Event Initializing As Log.InitializingEventHandler
    public event Log.InitializingEventHandler Initializing
    Event Data

    The event handler receives an argument of type LogInitializingEventArgs containing data related to this event. The following LogInitializingEventArgs properties provide information specific to this event.

    If set to true the initialization process will not complete and the agent will stay dormant.  
    The configuration for the agent to start with  
    You can cancel initialization by setting the cancel property to true in the event arguments. If canceled, the log system will not record any information but allow all calls to be made. Even if canceled it is possible for the logging system to attempt to reinitialize if a call is explicitly made to start a session.

    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