'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
- The Agent configuration to use instead of any configuration in the app.config file.
- sourceProvider
- An IMessageSourceProvider object which supplies the source information about this log message.
- reason
- A caption for the reason the session is starting, or null.