private static bool TryRefreshFile(IEdmFile5 file) { try { file.Refresh(); return(true); } catch (Exception ex) { return(false); } }