コード例 #1
0
 internal static void SendClientStatsAsync(
     string op,
     string status,
     string uri,
     string package   = "",
     string errorCode = "",
     string vmName    = "")
 {
     ThreadPool.QueueUserWorkItem((WaitCallback)(obj =>
     {
         try
         {
             ClientStats.SendStatsSync(op, status, uri, package, errorCode, vmName);
         }
         catch (Exception ex)
         {
             Logger.Error("Failed to send stats for uri : " + uri + ". Reason : " + ex.ToString());
         }
     }));
 }