Method ShutdownExecutorService ShutdownExecutorService(TaskScheduler) Shutdown and wait for its. Declaration public static void ShutdownExecutorService(TaskScheduler ex) Parameters Type Name Description TaskScheduler ex