예제 #1
0
        public static void StopTaskById(int id)
        {
            DevStdTask t = FindTaskById(id);

            if (t != null)
            {
                t.Abort();
            }
        }
예제 #2
0
        public static void StopTaskByName(string name)
        {
            DevStdTask t = FindTaskByName(name);

            if (t != null)
            {
                t.Abort();
            }
        }