'Declaration
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.
Property | Description |
---|---|
Cancel | If set to true the initialization process will not complete and the agent will stay dormant. |
Configuration | The configuration for the agent to start with |
Remarks
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.
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