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); } }
public ClassTimeUsage() { _update = update; }