12345678910111213141516171819202122232425262728 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace SmartCoalApplication.SystemLayer
- {
- public enum ExecuteWaitType
- {
- /// <summary>
- /// Returns immediately after executing without waiting for the task to finish.
- /// </summary>
- ReturnImmediately,
- /// <summary>
- /// Waits until the task exits before returning control to the calling method.
- /// </summary>
- WaitForExit,
- /// <summary>
- /// Returns immediately after executing without waiting for the task to finish.
- /// However, another task will be spawned that will wait for the requested task
- /// to finish, and it will then relaunch if the task was successful.
- /// </summary>
- RelaunchPdnOnExit
- }
- }
|