コード例 #1
0
 /// <summary>
 /// Initializing Backtrace client instance
 /// </summary>
 /// <param name="sectionName">Backtrace configuration section in App.config or Web.config file. Default section is BacktraceCredentials</param>
 /// <param name="attributes">Client's attributes</param>
 /// <param name="databaseSettings">Backtrace database settings</param>
 /// <param name="reportPerMin">Numbers of records sending per one min</param>
 public BacktraceClient(
     string sectionName = "BacktraceCredentials",
     Dictionary <string, object> attributes = null,
     IBacktraceDatabase database            = null,
     uint reportPerMin = 3)
     : base(BacktraceCredentials.ReadConfigurationSection(sectionName),
            attributes, database, reportPerMin)
 {
 }
コード例 #2
0
 /// <summary>
 /// Initializing Backtrace client instance
 /// </summary>
 /// <param name="sectionName">Backtrace configuration section in App.config or Web.config file. Default section is BacktraceCredentials</param>
 /// <param name="attributes">Client's attributes</param>
 /// <param name="databaseSettings">Backtrace database settings</param>
 /// <param name="reportPerMin">Numbers of records sending per one min</param>
 public BacktraceClient(
     string sectionName,
     string databasePath,
     Dictionary <string, object> attributes = null,
     uint reportPerMin = 3)
     : this(BacktraceCredentials.ReadConfigurationSection(sectionName),
            attributes, new BacktraceDatabase(new BacktraceDatabaseSettings(databasePath)),
            reportPerMin)
 {
 }