示例#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);
            }
        }
示例#2
0
 public ClassTimeUsage()
 {
     _update = update;
 }