Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / Log Class / StartSession Method / StartSession(AgentConfiguration,IMessageSourceProvider,String) Method
Optional. An initial default configuration to use instead of the configuration file.

In This Topic
    StartSession(AgentConfiguration,IMessageSourceProvider,String) Method
    In This Topic
    Called to activate the logging system. If it is already active then this has no effect.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub StartSession( _
       ByVal configuration As AgentConfiguration, _
       ByVal sourceProvider As IMessageSourceProvider, _
       ByVal reason As String _
    ) 
    public static void StartSession( 
       AgentConfiguration configuration,
       IMessageSourceProvider sourceProvider,
       string reason
    )

    Parameters

    configuration
    Optional. An initial default configuration to use instead of the configuration file.
    sourceProvider
    reason
    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