Exemple #1
0
        private void UpdateAsyncReturn(IAsyncResult result)
        {
            UpdateTimeUsageHandler handler = (UpdateTimeUsageHandler)((AsyncResult)result).AsyncDelegate;

            try
            {
                handler.EndInvoke(result);
                result.AsyncWaitHandle.Close();
            }
            catch (Exception e)
            {
                ClassCommonSetting.ThrowException(handler, "UpdateTimeUsage", e);
            }
        }
Exemple #2
0
 public ClassTimeUsage()
 {
     _update = update;
 }